<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CryptoAuthLib: ATCACommand (atca_)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CryptoAuthLib
   </div>
   <div id="projectbrief">Microchip CryptoAuthentication Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a03531.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ATCACommand (atca_)</div>  </div>
</div><!--header-->
<div class="contents">

<p>CryptoAuthLib command builder object, ATCACommand. Member functions for the ATCACommand object.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03543.html">atca_command</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="a03543.html" title="atca_command is the C object backing ATCACommand. ">atca_command</a> is the C object backing ATCACommand.  <a href="a03543.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03547.html">ATCAPacket</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">an ATCA packet structure. This is a superset of the packet transmitted on the wire. It's also used as a buffer for receiving the response  <a href="a03547.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac978ae798bc2c020c7b8a2e5a258016e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a>&#160;&#160;&#160;((uint8_t)7)</td></tr>
<tr class="memdesc:gac978ae798bc2c020c7b8a2e5a258016e"><td class="mdescLeft">&#160;</td><td class="mdescRight">minimum number of bytes in command (from count byte to second CRC byte)  <a href="#gac978ae798bc2c020c7b8a2e5a258016e">More...</a><br /></td></tr>
<tr class="separator:gac978ae798bc2c020c7b8a2e5a258016e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f7b636ed69136b5e5aa6d172cfd34e9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3f7b636ed69136b5e5aa6d172cfd34e9">ATCA_CMD_SIZE_MAX</a>&#160;&#160;&#160;((uint8_t)4 * 36 + 7)</td></tr>
<tr class="memdesc:ga3f7b636ed69136b5e5aa6d172cfd34e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum size of command packet (Verify)  <a href="#ga3f7b636ed69136b5e5aa6d172cfd34e9">More...</a><br /></td></tr>
<tr class="separator:ga3f7b636ed69136b5e5aa6d172cfd34e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85c326c023bdc268c499eb33375f2270"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga85c326c023bdc268c499eb33375f2270">CMD_STATUS_SUCCESS</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga85c326c023bdc268c499eb33375f2270"><td class="mdescLeft">&#160;</td><td class="mdescRight">status byte for success  <a href="#ga85c326c023bdc268c499eb33375f2270">More...</a><br /></td></tr>
<tr class="separator:ga85c326c023bdc268c499eb33375f2270"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd20c2250b83786f216a100bde94a670"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafd20c2250b83786f216a100bde94a670">CMD_STATUS_WAKEUP</a>&#160;&#160;&#160;((uint8_t)0x11)</td></tr>
<tr class="memdesc:gafd20c2250b83786f216a100bde94a670"><td class="mdescLeft">&#160;</td><td class="mdescRight">status byte after wake-up  <a href="#gafd20c2250b83786f216a100bde94a670">More...</a><br /></td></tr>
<tr class="separator:gafd20c2250b83786f216a100bde94a670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef76930f6d419fc30841be04fe6ac8d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaef76930f6d419fc30841be04fe6ac8d6">CMD_STATUS_BYTE_PARSE</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:gaef76930f6d419fc30841be04fe6ac8d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">command parse error  <a href="#gaef76930f6d419fc30841be04fe6ac8d6">More...</a><br /></td></tr>
<tr class="separator:gaef76930f6d419fc30841be04fe6ac8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44cee4dee17a7c1a2618d11e8e5774dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga44cee4dee17a7c1a2618d11e8e5774dd">CMD_STATUS_BYTE_ECC</a>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="memdesc:ga44cee4dee17a7c1a2618d11e8e5774dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">command ECC error  <a href="#ga44cee4dee17a7c1a2618d11e8e5774dd">More...</a><br /></td></tr>
<tr class="separator:ga44cee4dee17a7c1a2618d11e8e5774dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae496c798891069e04802bbac7d96e0f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae496c798891069e04802bbac7d96e0f5">CMD_STATUS_BYTE_EXEC</a>&#160;&#160;&#160;((uint8_t)0x0F)</td></tr>
<tr class="memdesc:gae496c798891069e04802bbac7d96e0f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">command execution error  <a href="#gae496c798891069e04802bbac7d96e0f5">More...</a><br /></td></tr>
<tr class="separator:gae496c798891069e04802bbac7d96e0f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a6daf9c5640ad80e7af330daad1f6ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6a6daf9c5640ad80e7af330daad1f6ea">CMD_STATUS_BYTE_COMM</a>&#160;&#160;&#160;((uint8_t)0xFF)</td></tr>
<tr class="memdesc:ga6a6daf9c5640ad80e7af330daad1f6ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">communication error  <a href="#ga6a6daf9c5640ad80e7af330daad1f6ea">More...</a><br /></td></tr>
<tr class="separator:ga6a6daf9c5640ad80e7af330daad1f6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaebeafc249bfe2b00b6809d5c328841d9"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a03543.html">atca_command</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a></td></tr>
<tr class="separator:gaebeafc249bfe2b00b6809d5c328841d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf4177bd66c5981ba86511608150c024e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf4177bd66c5981ba86511608150c024e">initATCACommand</a> (<a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a> device_type, <a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd)</td></tr>
<tr class="memdesc:gaf4177bd66c5981ba86511608150c024e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializer for ATCACommand.  <a href="#gaf4177bd66c5981ba86511608150c024e">More...</a><br /></td></tr>
<tr class="separator:gaf4177bd66c5981ba86511608150c024e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac004e4f2b9a435f9de6cea523c0e9a2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac004e4f2b9a435f9de6cea523c0e9a2d">newATCACommand</a> (<a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a> device_type)</td></tr>
<tr class="memdesc:gac004e4f2b9a435f9de6cea523c0e9a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor for ATCACommand  <a href="#gac004e4f2b9a435f9de6cea523c0e9a2d">More...</a><br /></td></tr>
<tr class="separator:gac004e4f2b9a435f9de6cea523c0e9a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9404883f6b81e6356862a9bb4b42d4a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9404883f6b81e6356862a9bb4b42d4a9">deleteATCACommand</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> *ca_cmd)</td></tr>
<tr class="memdesc:ga9404883f6b81e6356862a9bb4b42d4a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand destructor.  <a href="#ga9404883f6b81e6356862a9bb4b42d4a9">More...</a><br /></td></tr>
<tr class="separator:ga9404883f6b81e6356862a9bb4b42d4a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae82a969d437b648238fe1c1ddbd51196"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae82a969d437b648238fe1c1ddbd51196">atCheckMAC</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gae82a969d437b648238fe1c1ddbd51196"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand CheckMAC method.  <a href="#gae82a969d437b648238fe1c1ddbd51196">More...</a><br /></td></tr>
<tr class="separator:gae82a969d437b648238fe1c1ddbd51196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a61451b473025766f0b8aaf8cbe8878"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8a61451b473025766f0b8aaf8cbe8878">atCounter</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga8a61451b473025766f0b8aaf8cbe8878"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Counter method.  <a href="#ga8a61451b473025766f0b8aaf8cbe8878">More...</a><br /></td></tr>
<tr class="separator:ga8a61451b473025766f0b8aaf8cbe8878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e8e14d6ac01e36f5c62568a6203e158"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8e8e14d6ac01e36f5c62568a6203e158">atDeriveKey</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet, bool has_mac)</td></tr>
<tr class="memdesc:ga8e8e14d6ac01e36f5c62568a6203e158"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand DeriveKey method.  <a href="#ga8e8e14d6ac01e36f5c62568a6203e158">More...</a><br /></td></tr>
<tr class="separator:ga8e8e14d6ac01e36f5c62568a6203e158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5460e5bb2178eb95a3b8db8018d30617"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5460e5bb2178eb95a3b8db8018d30617">atECDH</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga5460e5bb2178eb95a3b8db8018d30617"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand ECDH method.  <a href="#ga5460e5bb2178eb95a3b8db8018d30617">More...</a><br /></td></tr>
<tr class="separator:ga5460e5bb2178eb95a3b8db8018d30617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96b33dc28e87b1c1855b7f828a89594b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga96b33dc28e87b1c1855b7f828a89594b">atGenDig</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet, bool is_no_mac_key)</td></tr>
<tr class="memdesc:ga96b33dc28e87b1c1855b7f828a89594b"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Generate Digest method.  <a href="#ga96b33dc28e87b1c1855b7f828a89594b">More...</a><br /></td></tr>
<tr class="separator:ga96b33dc28e87b1c1855b7f828a89594b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba4a495c2021c837c6de4cdeaaf64813"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaba4a495c2021c837c6de4cdeaaf64813">atGenKey</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gaba4a495c2021c837c6de4cdeaaf64813"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Generate Key method.  <a href="#gaba4a495c2021c837c6de4cdeaaf64813">More...</a><br /></td></tr>
<tr class="separator:gaba4a495c2021c837c6de4cdeaaf64813"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31f11cb28f4aaf6c654e92e7c5176814"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga31f11cb28f4aaf6c654e92e7c5176814">atHMAC</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga31f11cb28f4aaf6c654e92e7c5176814"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand HMAC method.  <a href="#ga31f11cb28f4aaf6c654e92e7c5176814">More...</a><br /></td></tr>
<tr class="separator:ga31f11cb28f4aaf6c654e92e7c5176814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5b69354b7f33537f2ffef3376843a15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf5b69354b7f33537f2ffef3376843a15">atInfo</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gaf5b69354b7f33537f2ffef3376843a15"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Info method.  <a href="#gaf5b69354b7f33537f2ffef3376843a15">More...</a><br /></td></tr>
<tr class="separator:gaf5b69354b7f33537f2ffef3376843a15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac649ffd477409f414dfcc7e38c19e203"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac649ffd477409f414dfcc7e38c19e203">atLock</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gac649ffd477409f414dfcc7e38c19e203"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Lock method.  <a href="#gac649ffd477409f414dfcc7e38c19e203">More...</a><br /></td></tr>
<tr class="separator:gac649ffd477409f414dfcc7e38c19e203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6375d9724ac9ec208e22224c0a210fb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6375d9724ac9ec208e22224c0a210fb3">atMAC</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga6375d9724ac9ec208e22224c0a210fb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand MAC method.  <a href="#ga6375d9724ac9ec208e22224c0a210fb3">More...</a><br /></td></tr>
<tr class="separator:ga6375d9724ac9ec208e22224c0a210fb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0937e5d717246f51a244e3369e554e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab0937e5d717246f51a244e3369e554e6">atNonce</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gab0937e5d717246f51a244e3369e554e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Nonce method.  <a href="#gab0937e5d717246f51a244e3369e554e6">More...</a><br /></td></tr>
<tr class="separator:gab0937e5d717246f51a244e3369e554e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae9bbe9f768acf9628bbb78fbebb21221"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae9bbe9f768acf9628bbb78fbebb21221">atPause</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gae9bbe9f768acf9628bbb78fbebb21221"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Pause method.  <a href="#gae9bbe9f768acf9628bbb78fbebb21221">More...</a><br /></td></tr>
<tr class="separator:gae9bbe9f768acf9628bbb78fbebb21221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf90f39bafcd296962ceef461954a1998"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf90f39bafcd296962ceef461954a1998">atPrivWrite</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gaf90f39bafcd296962ceef461954a1998"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand PrivWrite method.  <a href="#gaf90f39bafcd296962ceef461954a1998">More...</a><br /></td></tr>
<tr class="separator:gaf90f39bafcd296962ceef461954a1998"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad16fd3d0f3602f4654c29101f35bd2a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad16fd3d0f3602f4654c29101f35bd2a1">atRandom</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gad16fd3d0f3602f4654c29101f35bd2a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Random method.  <a href="#gad16fd3d0f3602f4654c29101f35bd2a1">More...</a><br /></td></tr>
<tr class="separator:gad16fd3d0f3602f4654c29101f35bd2a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17fa9d23b7e46c2eb32f8ae6132bb3c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga17fa9d23b7e46c2eb32f8ae6132bb3c4">atRead</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga17fa9d23b7e46c2eb32f8ae6132bb3c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Read method.  <a href="#ga17fa9d23b7e46c2eb32f8ae6132bb3c4">More...</a><br /></td></tr>
<tr class="separator:ga17fa9d23b7e46c2eb32f8ae6132bb3c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ecdb99e756b1740ad2119f13c3ab809"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5ecdb99e756b1740ad2119f13c3ab809">atSecureBoot</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga5ecdb99e756b1740ad2119f13c3ab809"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand SecureBoot method.  <a href="#ga5ecdb99e756b1740ad2119f13c3ab809">More...</a><br /></td></tr>
<tr class="separator:ga5ecdb99e756b1740ad2119f13c3ab809"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44ad135152469c980f9bf36a5f1477bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga44ad135152469c980f9bf36a5f1477bb">atSHA</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet, uint16_t write_context_size)</td></tr>
<tr class="memdesc:ga44ad135152469c980f9bf36a5f1477bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand SHA method.  <a href="#ga44ad135152469c980f9bf36a5f1477bb">More...</a><br /></td></tr>
<tr class="separator:ga44ad135152469c980f9bf36a5f1477bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf41d61bc7317d325a34169eb53c29e7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf41d61bc7317d325a34169eb53c29e7c">atSign</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:gaf41d61bc7317d325a34169eb53c29e7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Sign method.  <a href="#gaf41d61bc7317d325a34169eb53c29e7c">More...</a><br /></td></tr>
<tr class="separator:gaf41d61bc7317d325a34169eb53c29e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3890dfc5d5a3ec121ba7436fe90bee23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3890dfc5d5a3ec121ba7436fe90bee23">atUpdateExtra</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga3890dfc5d5a3ec121ba7436fe90bee23"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand UpdateExtra method.  <a href="#ga3890dfc5d5a3ec121ba7436fe90bee23">More...</a><br /></td></tr>
<tr class="separator:ga3890dfc5d5a3ec121ba7436fe90bee23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2beb9e8360555ededb666ad845219fce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2beb9e8360555ededb666ad845219fce">atVerify</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga2beb9e8360555ededb666ad845219fce"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand ECDSA Verify method.  <a href="#ga2beb9e8360555ededb666ad845219fce">More...</a><br /></td></tr>
<tr class="separator:ga2beb9e8360555ededb666ad845219fce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab5bc48599e5f6b938901739f4f46fa7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaab5bc48599e5f6b938901739f4f46fa7">atWrite</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet, bool has_mac)</td></tr>
<tr class="memdesc:gaab5bc48599e5f6b938901739f4f46fa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand Write method.  <a href="#gaab5bc48599e5f6b938901739f4f46fa7">More...</a><br /></td></tr>
<tr class="separator:gaab5bc48599e5f6b938901739f4f46fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17ffd71c28597552f5c4517096ef1fb8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga17ffd71c28597552f5c4517096ef1fb8">atAES</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga17ffd71c28597552f5c4517096ef1fb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand AES method.  <a href="#ga17ffd71c28597552f5c4517096ef1fb8">More...</a><br /></td></tr>
<tr class="separator:ga17ffd71c28597552f5c4517096ef1fb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47c96fd19a050247f7c06e20c296b958"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga47c96fd19a050247f7c06e20c296b958">atSelfTest</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga47c96fd19a050247f7c06e20c296b958"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand AES method.  <a href="#ga47c96fd19a050247f7c06e20c296b958">More...</a><br /></td></tr>
<tr class="separator:ga47c96fd19a050247f7c06e20c296b958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga881ba1c37e33cf65c17983e93dd8c677"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga881ba1c37e33cf65c17983e93dd8c677">atKDF</a> (<a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> ca_cmd, <a class="el" href="a03547.html">ATCAPacket</a> *packet)</td></tr>
<tr class="memdesc:ga881ba1c37e33cf65c17983e93dd8c677"><td class="mdescLeft">&#160;</td><td class="mdescRight">ATCACommand KDF method.  <a href="#ga881ba1c37e33cf65c17983e93dd8c677">More...</a><br /></td></tr>
<tr class="separator:ga881ba1c37e33cf65c17983e93dd8c677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae5866a78d2f0464b04eee9ef1f97030"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaae5866a78d2f0464b04eee9ef1f97030">atIsSHAFamily</a> (<a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a> device_type)</td></tr>
<tr class="memdesc:gaae5866a78d2f0464b04eee9ef1f97030"><td class="mdescLeft">&#160;</td><td class="mdescRight">determines if a given device type is a SHA device or a superset of a SHA device  <a href="#gaae5866a78d2f0464b04eee9ef1f97030">More...</a><br /></td></tr>
<tr class="separator:gaae5866a78d2f0464b04eee9ef1f97030"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae82dca54cc3fd1cc2f1671e98d64df07"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae82dca54cc3fd1cc2f1671e98d64df07">atIsECCFamily</a> (<a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a> device_type)</td></tr>
<tr class="memdesc:gae82dca54cc3fd1cc2f1671e98d64df07"><td class="mdescLeft">&#160;</td><td class="mdescRight">determines if a given device type is an ECC device or a superset of a ECC device  <a href="#gae82dca54cc3fd1cc2f1671e98d64df07">More...</a><br /></td></tr>
<tr class="separator:gae82dca54cc3fd1cc2f1671e98d64df07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae41108996848638519849163e51cd10a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae41108996848638519849163e51cd10a">isATCAError</a> (uint8_t *data)</td></tr>
<tr class="memdesc:gae41108996848638519849163e51cd10a"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks for basic error frame in data  <a href="#gae41108996848638519849163e51cd10a">More...</a><br /></td></tr>
<tr class="separator:gae41108996848638519849163e51cd10a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53ded4ed630b6ef4d292056c2e6b34f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga53ded4ed630b6ef4d292056c2e6b34f6">atCRC</a> (size_t length, const uint8_t *data, uint8_t *crc_le)</td></tr>
<tr class="memdesc:ga53ded4ed630b6ef4d292056c2e6b34f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates CRC over the given raw data and returns the CRC in little-endian byte order.  <a href="#ga53ded4ed630b6ef4d292056c2e6b34f6">More...</a><br /></td></tr>
<tr class="separator:ga53ded4ed630b6ef4d292056c2e6b34f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54460acd927854db5d39d6d5c3e8ed7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga54460acd927854db5d39d6d5c3e8ed7c">atCalcCrc</a> (<a class="el" href="a03547.html">ATCAPacket</a> *pkt)</td></tr>
<tr class="memdesc:ga54460acd927854db5d39d6d5c3e8ed7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates CRC and adds it to the correct offset in the packet data.  <a href="#ga54460acd927854db5d39d6d5c3e8ed7c">More...</a><br /></td></tr>
<tr class="separator:ga54460acd927854db5d39d6d5c3e8ed7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7723a58d1781b3ba54e8f45d5729b33a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7723a58d1781b3ba54e8f45d5729b33a">atCheckCrc</a> (const uint8_t *response)</td></tr>
<tr class="memdesc:ga7723a58d1781b3ba54e8f45d5729b33a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function checks the consistency of a response.  <a href="#ga7723a58d1781b3ba54e8f45d5729b33a">More...</a><br /></td></tr>
<tr class="separator:ga7723a58d1781b3ba54e8f45d5729b33a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Opcodes for Crypto Authentication device commands</h2></td></tr>
<tr class="memitem:ga1f9bb707789dc9194b06403113c9dfaf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1f9bb707789dc9194b06403113c9dfaf">ATCA_CHECKMAC</a>&#160;&#160;&#160;((uint8_t)0x28)</td></tr>
<tr class="memdesc:ga1f9bb707789dc9194b06403113c9dfaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMac command op-code.  <a href="#ga1f9bb707789dc9194b06403113c9dfaf">More...</a><br /></td></tr>
<tr class="separator:ga1f9bb707789dc9194b06403113c9dfaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9405ff4647b09a6d8ab7a4d8a091ee8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac9405ff4647b09a6d8ab7a4d8a091ee8">ATCA_DERIVE_KEY</a>&#160;&#160;&#160;((uint8_t)0x1C)</td></tr>
<tr class="memdesc:gac9405ff4647b09a6d8ab7a4d8a091ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command op-code.  <a href="#gac9405ff4647b09a6d8ab7a4d8a091ee8">More...</a><br /></td></tr>
<tr class="separator:gac9405ff4647b09a6d8ab7a4d8a091ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e74f12b91b93e683f27fb8b4c0bfb2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0e74f12b91b93e683f27fb8b4c0bfb2f">ATCA_INFO</a>&#160;&#160;&#160;((uint8_t)0x30)</td></tr>
<tr class="memdesc:ga0e74f12b91b93e683f27fb8b4c0bfb2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info command op-code.  <a href="#ga0e74f12b91b93e683f27fb8b4c0bfb2f">More...</a><br /></td></tr>
<tr class="separator:ga0e74f12b91b93e683f27fb8b4c0bfb2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37e24393c3e995d47a09ad962b6b83de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga37e24393c3e995d47a09ad962b6b83de">ATCA_GENDIG</a>&#160;&#160;&#160;((uint8_t)0x15)</td></tr>
<tr class="memdesc:ga37e24393c3e995d47a09ad962b6b83de"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command op-code.  <a href="#ga37e24393c3e995d47a09ad962b6b83de">More...</a><br /></td></tr>
<tr class="separator:ga37e24393c3e995d47a09ad962b6b83de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17f002359b157bee44a3c071a5a206db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga17f002359b157bee44a3c071a5a206db">ATCA_GENKEY</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga17f002359b157bee44a3c071a5a206db"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command op-code.  <a href="#ga17f002359b157bee44a3c071a5a206db">More...</a><br /></td></tr>
<tr class="separator:ga17f002359b157bee44a3c071a5a206db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36122a4f84ec0c31330c3c0458304029"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga36122a4f84ec0c31330c3c0458304029">ATCA_HMAC</a>&#160;&#160;&#160;((uint8_t)0x11)</td></tr>
<tr class="memdesc:ga36122a4f84ec0c31330c3c0458304029"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC command op-code.  <a href="#ga36122a4f84ec0c31330c3c0458304029">More...</a><br /></td></tr>
<tr class="separator:ga36122a4f84ec0c31330c3c0458304029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac227802d9a5680688ac4c2b23b38273c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac227802d9a5680688ac4c2b23b38273c">ATCA_LOCK</a>&#160;&#160;&#160;((uint8_t)0x17)</td></tr>
<tr class="memdesc:gac227802d9a5680688ac4c2b23b38273c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command op-code.  <a href="#gac227802d9a5680688ac4c2b23b38273c">More...</a><br /></td></tr>
<tr class="separator:gac227802d9a5680688ac4c2b23b38273c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa0843d9ec7e246455483a1fb1fdf3a07"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa0843d9ec7e246455483a1fb1fdf3a07">ATCA_MAC</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="memdesc:gaa0843d9ec7e246455483a1fb1fdf3a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command op-code.  <a href="#gaa0843d9ec7e246455483a1fb1fdf3a07">More...</a><br /></td></tr>
<tr class="separator:gaa0843d9ec7e246455483a1fb1fdf3a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga232e4a2b3f189cc2c3594ce5f18da3aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga232e4a2b3f189cc2c3594ce5f18da3aa">ATCA_NONCE</a>&#160;&#160;&#160;((uint8_t)0x16)</td></tr>
<tr class="memdesc:ga232e4a2b3f189cc2c3594ce5f18da3aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command op-code.  <a href="#ga232e4a2b3f189cc2c3594ce5f18da3aa">More...</a><br /></td></tr>
<tr class="separator:ga232e4a2b3f189cc2c3594ce5f18da3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7d786006183912073939b3f62075dd27"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7d786006183912073939b3f62075dd27">ATCA_PAUSE</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga7d786006183912073939b3f62075dd27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause command op-code.  <a href="#ga7d786006183912073939b3f62075dd27">More...</a><br /></td></tr>
<tr class="separator:ga7d786006183912073939b3f62075dd27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3171c7ab4447a2e752706bed1072e694"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3171c7ab4447a2e752706bed1072e694">ATCA_PRIVWRITE</a>&#160;&#160;&#160;((uint8_t)0x46)</td></tr>
<tr class="memdesc:ga3171c7ab4447a2e752706bed1072e694"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command op-code.  <a href="#ga3171c7ab4447a2e752706bed1072e694">More...</a><br /></td></tr>
<tr class="separator:ga3171c7ab4447a2e752706bed1072e694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace94188e9d741a9b44616474b633064f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gace94188e9d741a9b44616474b633064f">ATCA_RANDOM</a>&#160;&#160;&#160;((uint8_t)0x1B)</td></tr>
<tr class="memdesc:gace94188e9d741a9b44616474b633064f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random command op-code.  <a href="#gace94188e9d741a9b44616474b633064f">More...</a><br /></td></tr>
<tr class="separator:gace94188e9d741a9b44616474b633064f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8760372110d92cea3570a5720db05de2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8760372110d92cea3570a5720db05de2">ATCA_READ</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga8760372110d92cea3570a5720db05de2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command op-code.  <a href="#ga8760372110d92cea3570a5720db05de2">More...</a><br /></td></tr>
<tr class="separator:ga8760372110d92cea3570a5720db05de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga516dbf4bbd2c4b366e0306890d0bca56"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga516dbf4bbd2c4b366e0306890d0bca56">ATCA_SIGN</a>&#160;&#160;&#160;((uint8_t)0x41)</td></tr>
<tr class="memdesc:ga516dbf4bbd2c4b366e0306890d0bca56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sign command op-code.  <a href="#ga516dbf4bbd2c4b366e0306890d0bca56">More...</a><br /></td></tr>
<tr class="separator:ga516dbf4bbd2c4b366e0306890d0bca56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga19c9a91ccf069c8bc7afa0d5a2bc6fd2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga19c9a91ccf069c8bc7afa0d5a2bc6fd2">ATCA_UPDATE_EXTRA</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:ga19c9a91ccf069c8bc7afa0d5a2bc6fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">UpdateExtra command op-code.  <a href="#ga19c9a91ccf069c8bc7afa0d5a2bc6fd2">More...</a><br /></td></tr>
<tr class="separator:ga19c9a91ccf069c8bc7afa0d5a2bc6fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e357a6e926176155fe47aba97d915fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8e357a6e926176155fe47aba97d915fb">ATCA_VERIFY</a>&#160;&#160;&#160;((uint8_t)0x45)</td></tr>
<tr class="memdesc:ga8e357a6e926176155fe47aba97d915fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command op-code.  <a href="#ga8e357a6e926176155fe47aba97d915fb">More...</a><br /></td></tr>
<tr class="separator:ga8e357a6e926176155fe47aba97d915fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab04d6b6e9e5a2c4c28733a6f4f3b0771"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab04d6b6e9e5a2c4c28733a6f4f3b0771">ATCA_WRITE</a>&#160;&#160;&#160;((uint8_t)0x12)</td></tr>
<tr class="memdesc:gab04d6b6e9e5a2c4c28733a6f4f3b0771"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write command op-code.  <a href="#gab04d6b6e9e5a2c4c28733a6f4f3b0771">More...</a><br /></td></tr>
<tr class="separator:gab04d6b6e9e5a2c4c28733a6f4f3b0771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06c1c02df3023d78b6b224060966460f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga06c1c02df3023d78b6b224060966460f">ATCA_ECDH</a>&#160;&#160;&#160;((uint8_t)0x43)</td></tr>
<tr class="memdesc:ga06c1c02df3023d78b6b224060966460f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ECDH command op-code.  <a href="#ga06c1c02df3023d78b6b224060966460f">More...</a><br /></td></tr>
<tr class="separator:ga06c1c02df3023d78b6b224060966460f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9599c4331857f1daa543a31fcce650fd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9599c4331857f1daa543a31fcce650fd">ATCA_COUNTER</a>&#160;&#160;&#160;((uint8_t)0x24)</td></tr>
<tr class="memdesc:ga9599c4331857f1daa543a31fcce650fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command op-code.  <a href="#ga9599c4331857f1daa543a31fcce650fd">More...</a><br /></td></tr>
<tr class="separator:ga9599c4331857f1daa543a31fcce650fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e5f11692a8a23e1410d9b5ce8bebc2b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8e5f11692a8a23e1410d9b5ce8bebc2b">ATCA_SHA</a>&#160;&#160;&#160;((uint8_t)0x47)</td></tr>
<tr class="memdesc:ga8e5f11692a8a23e1410d9b5ce8bebc2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA command op-code.  <a href="#ga8e5f11692a8a23e1410d9b5ce8bebc2b">More...</a><br /></td></tr>
<tr class="separator:ga8e5f11692a8a23e1410d9b5ce8bebc2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4edf9367ffdc790e886166890fc814c1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4edf9367ffdc790e886166890fc814c1">ATCA_AES</a>&#160;&#160;&#160;((uint8_t)0x51)</td></tr>
<tr class="memdesc:ga4edf9367ffdc790e886166890fc814c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command op-code.  <a href="#ga4edf9367ffdc790e886166890fc814c1">More...</a><br /></td></tr>
<tr class="separator:ga4edf9367ffdc790e886166890fc814c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c0632a1eabc73aaebcb4c7f265b8a00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1c0632a1eabc73aaebcb4c7f265b8a00">ATCA_KDF</a>&#160;&#160;&#160;((uint8_t)0x56)</td></tr>
<tr class="memdesc:ga1c0632a1eabc73aaebcb4c7f265b8a00"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF command op-code.  <a href="#ga1c0632a1eabc73aaebcb4c7f265b8a00">More...</a><br /></td></tr>
<tr class="separator:ga1c0632a1eabc73aaebcb4c7f265b8a00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4aab184dc60e2de854994d26d57dfde"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf4aab184dc60e2de854994d26d57dfde">ATCA_SECUREBOOT</a>&#160;&#160;&#160;((uint8_t)0x80)</td></tr>
<tr class="memdesc:gaf4aab184dc60e2de854994d26d57dfde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Secure Boot command op-code.  <a href="#gaf4aab184dc60e2de854994d26d57dfde">More...</a><br /></td></tr>
<tr class="separator:gaf4aab184dc60e2de854994d26d57dfde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbec80dc1b5f24d3013c2a9b06c11bdc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gacbec80dc1b5f24d3013c2a9b06c11bdc">ATCA_SELFTEST</a>&#160;&#160;&#160;((uint8_t)0x77)</td></tr>
<tr class="memdesc:gacbec80dc1b5f24d3013c2a9b06c11bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Self test command op-code.  <a href="#gacbec80dc1b5f24d3013c2a9b06c11bdc">More...</a><br /></td></tr>
<tr class="separator:gacbec80dc1b5f24d3013c2a9b06c11bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions of Data and Packet Sizes</h2></td></tr>
<tr class="memitem:gaa0117f3d3f9a9ae65a3fab1e68b7caef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa0117f3d3f9a9ae65a3fab1e68b7caef">ATCA_BLOCK_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gaa0117f3d3f9a9ae65a3fab1e68b7caef"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a block  <a href="#gaa0117f3d3f9a9ae65a3fab1e68b7caef">More...</a><br /></td></tr>
<tr class="separator:gaa0117f3d3f9a9ae65a3fab1e68b7caef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga555bdf8fa32d4d47577f7748ca928389"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga555bdf8fa32d4d47577f7748ca928389">ATCA_WORD_SIZE</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:ga555bdf8fa32d4d47577f7748ca928389"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a word  <a href="#ga555bdf8fa32d4d47577f7748ca928389">More...</a><br /></td></tr>
<tr class="separator:ga555bdf8fa32d4d47577f7748ca928389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae52318f0263884ff3a3e67328138cc75"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae52318f0263884ff3a3e67328138cc75">ATCA_PUB_KEY_PAD</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:gae52318f0263884ff3a3e67328138cc75"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of the public key pad  <a href="#gae52318f0263884ff3a3e67328138cc75">More...</a><br /></td></tr>
<tr class="separator:gae52318f0263884ff3a3e67328138cc75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab112a8a280ac5ad6e11b5fe2cc0be0a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab112a8a280ac5ad6e11b5fe2cc0be0a0">ATCA_SERIAL_NUM_SIZE</a>&#160;&#160;&#160;(9)</td></tr>
<tr class="memdesc:gab112a8a280ac5ad6e11b5fe2cc0be0a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of bytes in the device serial number  <a href="#gab112a8a280ac5ad6e11b5fe2cc0be0a0">More...</a><br /></td></tr>
<tr class="separator:gab112a8a280ac5ad6e11b5fe2cc0be0a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga882f14cac02df8282ccad2a43afc8a23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga882f14cac02df8282ccad2a43afc8a23">ATCA_RSP_SIZE_VAL</a>&#160;&#160;&#160;((uint8_t)7)</td></tr>
<tr class="memdesc:ga882f14cac02df8282ccad2a43afc8a23"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing four bytes of data  <a href="#ga882f14cac02df8282ccad2a43afc8a23">More...</a><br /></td></tr>
<tr class="separator:ga882f14cac02df8282ccad2a43afc8a23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa043ddb1952520a2bba28ac41a98f93"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafa043ddb1952520a2bba28ac41a98f93">ATCA_KEY_COUNT</a>&#160;&#160;&#160;(16)</td></tr>
<tr class="memdesc:gafa043ddb1952520a2bba28ac41a98f93"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of keys  <a href="#gafa043ddb1952520a2bba28ac41a98f93">More...</a><br /></td></tr>
<tr class="separator:gafa043ddb1952520a2bba28ac41a98f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8b9077022cc706947fdc8b45a573d81"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae8b9077022cc706947fdc8b45a573d81">ATCA_ECC_CONFIG_SIZE</a>&#160;&#160;&#160;(128)</td></tr>
<tr class="memdesc:gae8b9077022cc706947fdc8b45a573d81"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of configuration zone  <a href="#gae8b9077022cc706947fdc8b45a573d81">More...</a><br /></td></tr>
<tr class="separator:gae8b9077022cc706947fdc8b45a573d81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1887d11853092541df18c2a04fb6b87a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1887d11853092541df18c2a04fb6b87a">ATCA_SHA_CONFIG_SIZE</a>&#160;&#160;&#160;(88)</td></tr>
<tr class="memdesc:ga1887d11853092541df18c2a04fb6b87a"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of configuration zone  <a href="#ga1887d11853092541df18c2a04fb6b87a">More...</a><br /></td></tr>
<tr class="separator:ga1887d11853092541df18c2a04fb6b87a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c05f7bd221df19c5c6ad1fe1f4709be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4c05f7bd221df19c5c6ad1fe1f4709be">ATCA_OTP_SIZE</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="memdesc:ga4c05f7bd221df19c5c6ad1fe1f4709be"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of OTP zone  <a href="#ga4c05f7bd221df19c5c6ad1fe1f4709be">More...</a><br /></td></tr>
<tr class="separator:ga4c05f7bd221df19c5c6ad1fe1f4709be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b96c7eee244d44c648245421745db12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0b96c7eee244d44c648245421745db12">ATCA_DATA_SIZE</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gafa043ddb1952520a2bba28ac41a98f93">ATCA_KEY_COUNT</a> * <a class="el" href="a03531.html#ga66a410dde8f388c582495ba315284276">ATCA_KEY_SIZE</a>)</td></tr>
<tr class="memdesc:ga0b96c7eee244d44c648245421745db12"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of data zone  <a href="#ga0b96c7eee244d44c648245421745db12">More...</a><br /></td></tr>
<tr class="separator:ga0b96c7eee244d44c648245421745db12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6ce84aad51d25e05139f83ac9ca2b162"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6ce84aad51d25e05139f83ac9ca2b162">ATCA_AES_GFM_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gaa0117f3d3f9a9ae65a3fab1e68b7caef">ATCA_BLOCK_SIZE</a></td></tr>
<tr class="memdesc:ga6ce84aad51d25e05139f83ac9ca2b162"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of GFM data  <a href="#ga6ce84aad51d25e05139f83ac9ca2b162">More...</a><br /></td></tr>
<tr class="separator:ga6ce84aad51d25e05139f83ac9ca2b162"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6eaf90b702c122de71a18a9b2bd43ba7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6eaf90b702c122de71a18a9b2bd43ba7">ATCA_CHIPMODE_OFFSET</a>&#160;&#160;&#160;(19)</td></tr>
<tr class="memdesc:ga6eaf90b702c122de71a18a9b2bd43ba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode byte offset within the configuration zone.  <a href="#ga6eaf90b702c122de71a18a9b2bd43ba7">More...</a><br /></td></tr>
<tr class="separator:ga6eaf90b702c122de71a18a9b2bd43ba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74a13b4b6304a02b4e006901b6ac1de5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga74a13b4b6304a02b4e006901b6ac1de5">ATCA_CHIPMODE_I2C_ADDRESS_FLAG</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga74a13b4b6304a02b4e006901b6ac1de5"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode I2C Address in UserExtraAdd flag.  <a href="#ga74a13b4b6304a02b4e006901b6ac1de5">More...</a><br /></td></tr>
<tr class="separator:ga74a13b4b6304a02b4e006901b6ac1de5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10795619d6fb78965b7e78996261f6cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga10795619d6fb78965b7e78996261f6cd">ATCA_CHIPMODE_TTL_ENABLE_FLAG</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga10795619d6fb78965b7e78996261f6cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode TTLenable flag.  <a href="#ga10795619d6fb78965b7e78996261f6cd">More...</a><br /></td></tr>
<tr class="separator:ga10795619d6fb78965b7e78996261f6cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga814ad478cb05af339635633cbcd495b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga814ad478cb05af339635633cbcd495b7">ATCA_CHIPMODE_WATCHDOG_MASK</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:ga814ad478cb05af339635633cbcd495b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode watchdog duration mask.  <a href="#ga814ad478cb05af339635633cbcd495b7">More...</a><br /></td></tr>
<tr class="separator:ga814ad478cb05af339635633cbcd495b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2c08e9a862fce29e741ef2b75918a8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab2c08e9a862fce29e741ef2b75918a8e">ATCA_CHIPMODE_WATCHDOG_SHORT</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gab2c08e9a862fce29e741ef2b75918a8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode short watchdog (~1.3s)  <a href="#gab2c08e9a862fce29e741ef2b75918a8e">More...</a><br /></td></tr>
<tr class="separator:gab2c08e9a862fce29e741ef2b75918a8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a089181beb38a1e5c5add58e96302bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9a089181beb38a1e5c5add58e96302bc">ATCA_CHIPMODE_WATCHDOG_LONG</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:ga9a089181beb38a1e5c5add58e96302bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode long watchdog (~13s)  <a href="#ga9a089181beb38a1e5c5add58e96302bc">More...</a><br /></td></tr>
<tr class="separator:ga9a089181beb38a1e5c5add58e96302bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09ab7fb893534775d506020643820939"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga09ab7fb893534775d506020643820939">ATCA_CHIPMODE_CLOCK_DIV_MASK</a>&#160;&#160;&#160;((uint8_t)0xF8)</td></tr>
<tr class="memdesc:ga09ab7fb893534775d506020643820939"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode clock divider mask.  <a href="#ga09ab7fb893534775d506020643820939">More...</a><br /></td></tr>
<tr class="separator:ga09ab7fb893534775d506020643820939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe16121ea22ed08080997a2cfae1c125"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabe16121ea22ed08080997a2cfae1c125">ATCA_CHIPMODE_CLOCK_DIV_M0</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gabe16121ea22ed08080997a2cfae1c125"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode clock divider M0.  <a href="#gabe16121ea22ed08080997a2cfae1c125">More...</a><br /></td></tr>
<tr class="separator:gabe16121ea22ed08080997a2cfae1c125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabaee03887c7e4403ac4936d9cde406e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaabaee03887c7e4403ac4936d9cde406e">ATCA_CHIPMODE_CLOCK_DIV_M1</a>&#160;&#160;&#160;((uint8_t)0x28)</td></tr>
<tr class="memdesc:gaabaee03887c7e4403ac4936d9cde406e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode clock divider M1.  <a href="#gaabaee03887c7e4403ac4936d9cde406e">More...</a><br /></td></tr>
<tr class="separator:gaabaee03887c7e4403ac4936d9cde406e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84f7e63b8711e799da259862b170fd75"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga84f7e63b8711e799da259862b170fd75">ATCA_CHIPMODE_CLOCK_DIV_M2</a>&#160;&#160;&#160;((uint8_t)0x68)</td></tr>
<tr class="memdesc:ga84f7e63b8711e799da259862b170fd75"><td class="mdescLeft">&#160;</td><td class="mdescRight">ChipMode clock divider M2.  <a href="#ga84f7e63b8711e799da259862b170fd75">More...</a><br /></td></tr>
<tr class="separator:ga84f7e63b8711e799da259862b170fd75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad410516c4b4eb448a333eb3ed1f7b288"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad410516c4b4eb448a333eb3ed1f7b288">ATCA_COUNT_SIZE</a>&#160;&#160;&#160;((uint8_t)1)</td></tr>
<tr class="memdesc:gad410516c4b4eb448a333eb3ed1f7b288"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes in the command packet Count.  <a href="#gad410516c4b4eb448a333eb3ed1f7b288">More...</a><br /></td></tr>
<tr class="separator:gad410516c4b4eb448a333eb3ed1f7b288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga276faf364bbb0e27819842111e08842f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga276faf364bbb0e27819842111e08842f">ATCA_CRC_SIZE</a>&#160;&#160;&#160;((uint8_t)2)</td></tr>
<tr class="memdesc:ga276faf364bbb0e27819842111e08842f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes in the command packet CRC.  <a href="#ga276faf364bbb0e27819842111e08842f">More...</a><br /></td></tr>
<tr class="separator:ga276faf364bbb0e27819842111e08842f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa569255bc251cd90cb2d0f6b710164bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa569255bc251cd90cb2d0f6b710164bc">ATCA_PACKET_OVERHEAD</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gad410516c4b4eb448a333eb3ed1f7b288">ATCA_COUNT_SIZE</a> + <a class="el" href="a03531.html#ga276faf364bbb0e27819842111e08842f">ATCA_CRC_SIZE</a>)</td></tr>
<tr class="memdesc:gaa569255bc251cd90cb2d0f6b710164bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes in the command packet.  <a href="#gaa569255bc251cd90cb2d0f6b710164bc">More...</a><br /></td></tr>
<tr class="separator:gaa569255bc251cd90cb2d0f6b710164bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07089e8e8b1aa335ddfd37e591f64ebb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga07089e8e8b1aa335ddfd37e591f64ebb">ATCA_PUB_KEY_SIZE</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="memdesc:ga07089e8e8b1aa335ddfd37e591f64ebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a p256 public key  <a href="#ga07089e8e8b1aa335ddfd37e591f64ebb">More...</a><br /></td></tr>
<tr class="separator:ga07089e8e8b1aa335ddfd37e591f64ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3caf91c8e7ec183e0ad7b93dad9cb548"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3caf91c8e7ec183e0ad7b93dad9cb548">ATCA_PRIV_KEY_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga3caf91c8e7ec183e0ad7b93dad9cb548"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a p256 private key  <a href="#ga3caf91c8e7ec183e0ad7b93dad9cb548">More...</a><br /></td></tr>
<tr class="separator:ga3caf91c8e7ec183e0ad7b93dad9cb548"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56448f81a8d04c6871b3422c496bf8b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga56448f81a8d04c6871b3422c496bf8b6">ATCA_SIG_SIZE</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="memdesc:ga56448f81a8d04c6871b3422c496bf8b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a p256 signature  <a href="#ga56448f81a8d04c6871b3422c496bf8b6">More...</a><br /></td></tr>
<tr class="separator:ga56448f81a8d04c6871b3422c496bf8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66a410dde8f388c582495ba315284276"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga66a410dde8f388c582495ba315284276">ATCA_KEY_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga66a410dde8f388c582495ba315284276"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a symmetric SHA key  <a href="#ga66a410dde8f388c582495ba315284276">More...</a><br /></td></tr>
<tr class="separator:ga66a410dde8f388c582495ba315284276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb3783d1cdf4f9c1217d030bc0386fad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaeb3783d1cdf4f9c1217d030bc0386fad">RSA2048_KEY_SIZE</a>&#160;&#160;&#160;(256)</td></tr>
<tr class="memdesc:gaeb3783d1cdf4f9c1217d030bc0386fad"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of a RSA private key  <a href="#gaeb3783d1cdf4f9c1217d030bc0386fad">More...</a><br /></td></tr>
<tr class="separator:gaeb3783d1cdf4f9c1217d030bc0386fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c738f2cc7bf063582c34188f85ddc3c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a>&#160;&#160;&#160;((uint8_t)4)</td></tr>
<tr class="memdesc:ga0c738f2cc7bf063582c34188f85ddc3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">minimum number of bytes in response  <a href="#ga0c738f2cc7bf063582c34188f85ddc3c">More...</a><br /></td></tr>
<tr class="separator:ga0c738f2cc7bf063582c34188f85ddc3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15cc6f16cdb8f11b60981af7c3b15ef8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga15cc6f16cdb8f11b60981af7c3b15ef8">ATCA_RSP_SIZE_4</a>&#160;&#160;&#160;((uint8_t)7)</td></tr>
<tr class="memdesc:ga15cc6f16cdb8f11b60981af7c3b15ef8"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing 4 bytes data  <a href="#ga15cc6f16cdb8f11b60981af7c3b15ef8">More...</a><br /></td></tr>
<tr class="separator:ga15cc6f16cdb8f11b60981af7c3b15ef8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67ca82b396385dd18790b48d731dfe15"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga67ca82b396385dd18790b48d731dfe15">ATCA_RSP_SIZE_72</a>&#160;&#160;&#160;((uint8_t)75)</td></tr>
<tr class="memdesc:ga67ca82b396385dd18790b48d731dfe15"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing 64 bytes data  <a href="#ga67ca82b396385dd18790b48d731dfe15">More...</a><br /></td></tr>
<tr class="separator:ga67ca82b396385dd18790b48d731dfe15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b7ad7c3c75639352af5ad3b1298500c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5b7ad7c3c75639352af5ad3b1298500c">ATCA_RSP_SIZE_64</a>&#160;&#160;&#160;((uint8_t)67)</td></tr>
<tr class="memdesc:ga5b7ad7c3c75639352af5ad3b1298500c"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing 64 bytes data  <a href="#ga5b7ad7c3c75639352af5ad3b1298500c">More...</a><br /></td></tr>
<tr class="separator:ga5b7ad7c3c75639352af5ad3b1298500c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafd812ab5b70a92a4d3a420c4f7106ac5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a>&#160;&#160;&#160;((uint8_t)35)</td></tr>
<tr class="memdesc:gafd812ab5b70a92a4d3a420c4f7106ac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing 32 bytes data  <a href="#gafd812ab5b70a92a4d3a420c4f7106ac5">More...</a><br /></td></tr>
<tr class="separator:gafd812ab5b70a92a4d3a420c4f7106ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0be09b502137446daedc43f1d3e85f86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0be09b502137446daedc43f1d3e85f86">ATCA_RSP_SIZE_16</a>&#160;&#160;&#160;((uint8_t)19)</td></tr>
<tr class="memdesc:ga0be09b502137446daedc43f1d3e85f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of response packet containing 16 bytes data  <a href="#ga0be09b502137446daedc43f1d3e85f86">More...</a><br /></td></tr>
<tr class="separator:ga0be09b502137446daedc43f1d3e85f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga908aece3a9501eb14a70c2b24a3e4089"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga908aece3a9501eb14a70c2b24a3e4089">ATCA_RSP_SIZE_MAX</a>&#160;&#160;&#160;((uint8_t)75)</td></tr>
<tr class="memdesc:ga908aece3a9501eb14a70c2b24a3e4089"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum size of response packet (GenKey and Verify command)  <a href="#ga908aece3a9501eb14a70c2b24a3e4089">More...</a><br /></td></tr>
<tr class="separator:ga908aece3a9501eb14a70c2b24a3e4089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad742aca4fbd1b833423eeb7ce90a6743"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad742aca4fbd1b833423eeb7ce90a6743">OUTNONCE_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gad742aca4fbd1b833423eeb7ce90a6743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of the OutNonce response expected from several commands.  <a href="#gad742aca4fbd1b833423eeb7ce90a6743">More...</a><br /></td></tr>
<tr class="separator:gad742aca4fbd1b833423eeb7ce90a6743"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for Command Parameter Ranges</h2></td></tr>
<tr class="memitem:ga5da5f8005c1b2612b998afcbd823c716"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5da5f8005c1b2612b998afcbd823c716">ATCA_KEY_ID_MAX</a>&#160;&#160;&#160;((uint8_t)15)</td></tr>
<tr class="memdesc:ga5da5f8005c1b2612b998afcbd823c716"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum value for key id  <a href="#ga5da5f8005c1b2612b998afcbd823c716">More...</a><br /></td></tr>
<tr class="separator:ga5da5f8005c1b2612b998afcbd823c716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa0eacfa4e596c3eb572753b7f5171276"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa0eacfa4e596c3eb572753b7f5171276">ATCA_OTP_BLOCK_MAX</a>&#160;&#160;&#160;((uint8_t)1)</td></tr>
<tr class="memdesc:gaa0eacfa4e596c3eb572753b7f5171276"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum value for OTP block  <a href="#gaa0eacfa4e596c3eb572753b7f5171276">More...</a><br /></td></tr>
<tr class="separator:gaa0eacfa4e596c3eb572753b7f5171276"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for Indexes Common to All Commands</h2></td></tr>
<tr class="memitem:ga0aac7fbfd425112b4b1e922876532a9e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0aac7fbfd425112b4b1e922876532a9e">ATCA_COUNT_IDX</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga0aac7fbfd425112b4b1e922876532a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">command packet index for count  <a href="#ga0aac7fbfd425112b4b1e922876532a9e">More...</a><br /></td></tr>
<tr class="separator:ga0aac7fbfd425112b4b1e922876532a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15c3e02dd629f85722f4b74e61f3adca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga15c3e02dd629f85722f4b74e61f3adca">ATCA_OPCODE_IDX</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:ga15c3e02dd629f85722f4b74e61f3adca"><td class="mdescLeft">&#160;</td><td class="mdescRight">command packet index for op-code  <a href="#ga15c3e02dd629f85722f4b74e61f3adca">More...</a><br /></td></tr>
<tr class="separator:ga15c3e02dd629f85722f4b74e61f3adca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga090c04fed9d153a97fb77195c7eb2f56"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:ga090c04fed9d153a97fb77195c7eb2f56"><td class="mdescLeft">&#160;</td><td class="mdescRight">command packet index for first parameter  <a href="#ga090c04fed9d153a97fb77195c7eb2f56">More...</a><br /></td></tr>
<tr class="separator:ga090c04fed9d153a97fb77195c7eb2f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9e84a71fc7e3ba613779aeb8d740eb23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:ga9e84a71fc7e3ba613779aeb8d740eb23"><td class="mdescLeft">&#160;</td><td class="mdescRight">command packet index for second parameter  <a href="#ga9e84a71fc7e3ba613779aeb8d740eb23">More...</a><br /></td></tr>
<tr class="separator:ga9e84a71fc7e3ba613779aeb8d740eb23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga756539af7bcadf33dd3a9b2f60763f7a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a>&#160;&#160;&#160;(5)</td></tr>
<tr class="memdesc:ga756539af7bcadf33dd3a9b2f60763f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">command packet index for data load  <a href="#ga756539af7bcadf33dd3a9b2f60763f7a">More...</a><br /></td></tr>
<tr class="separator:ga756539af7bcadf33dd3a9b2f60763f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabaaa930c2275599fcc3d83cfc02bfafe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabaaa930c2275599fcc3d83cfc02bfafe">ATCA_RSP_DATA_IDX</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:gabaaa930c2275599fcc3d83cfc02bfafe"><td class="mdescLeft">&#160;</td><td class="mdescRight">buffer index of data in response  <a href="#gabaaa930c2275599fcc3d83cfc02bfafe">More...</a><br /></td></tr>
<tr class="separator:gabaaa930c2275599fcc3d83cfc02bfafe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for Zone and Address Parameters</h2></td></tr>
<tr class="memitem:gadd3796a1d4de55604283aef5a70f7945"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadd3796a1d4de55604283aef5a70f7945">ATCA_ZONE_CONFIG</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gadd3796a1d4de55604283aef5a70f7945"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration zone.  <a href="#gadd3796a1d4de55604283aef5a70f7945">More...</a><br /></td></tr>
<tr class="separator:gadd3796a1d4de55604283aef5a70f7945"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga547efc6fa3cb0501b2e53f80023dff7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga547efc6fa3cb0501b2e53f80023dff7e">ATCA_ZONE_OTP</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga547efc6fa3cb0501b2e53f80023dff7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">OTP (One Time Programming) zone.  <a href="#ga547efc6fa3cb0501b2e53f80023dff7e">More...</a><br /></td></tr>
<tr class="separator:ga547efc6fa3cb0501b2e53f80023dff7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c65b241280290fae9fd4faa9d7a292b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4c65b241280290fae9fd4faa9d7a292b">ATCA_ZONE_DATA</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga4c65b241280290fae9fd4faa9d7a292b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data zone.  <a href="#ga4c65b241280290fae9fd4faa9d7a292b">More...</a><br /></td></tr>
<tr class="separator:ga4c65b241280290fae9fd4faa9d7a292b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d6d2f2713e845ec3b3bf465025d6858"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1d6d2f2713e845ec3b3bf465025d6858">ATCA_ZONE_MASK</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga1d6d2f2713e845ec3b3bf465025d6858"><td class="mdescLeft">&#160;</td><td class="mdescRight">Zone mask.  <a href="#ga1d6d2f2713e845ec3b3bf465025d6858">More...</a><br /></td></tr>
<tr class="separator:ga1d6d2f2713e845ec3b3bf465025d6858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga167bc588244395e98461008070fee8f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga167bc588244395e98461008070fee8f3">ATCA_ZONE_ENCRYPTED</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga167bc588244395e98461008070fee8f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Zone bit 6 set: Write is encrypted with an unlocked data zone.  <a href="#ga167bc588244395e98461008070fee8f3">More...</a><br /></td></tr>
<tr class="separator:ga167bc588244395e98461008070fee8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa32b46f2c058ee54377d0cbef1ec8764"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa32b46f2c058ee54377d0cbef1ec8764">ATCA_ZONE_READWRITE_32</a>&#160;&#160;&#160;((uint8_t)0x80)</td></tr>
<tr class="memdesc:gaa32b46f2c058ee54377d0cbef1ec8764"><td class="mdescLeft">&#160;</td><td class="mdescRight">Zone bit 7 set: Access 32 bytes, otherwise 4 bytes.  <a href="#gaa32b46f2c058ee54377d0cbef1ec8764">More...</a><br /></td></tr>
<tr class="separator:gaa32b46f2c058ee54377d0cbef1ec8764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga32d53cee52cd042a31f1adc934ad7a5a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga32d53cee52cd042a31f1adc934ad7a5a">ATCA_ADDRESS_MASK_CONFIG</a>&#160;&#160;&#160;(0x001F)</td></tr>
<tr class="memdesc:ga32d53cee52cd042a31f1adc934ad7a5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address bits 5 to 7 are 0 for Configuration zone.  <a href="#ga32d53cee52cd042a31f1adc934ad7a5a">More...</a><br /></td></tr>
<tr class="separator:ga32d53cee52cd042a31f1adc934ad7a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56e3f8d816e2068d80003fdee7d58763"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga56e3f8d816e2068d80003fdee7d58763">ATCA_ADDRESS_MASK_OTP</a>&#160;&#160;&#160;(0x000F)</td></tr>
<tr class="memdesc:ga56e3f8d816e2068d80003fdee7d58763"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address bits 4 to 7 are 0 for OTP zone.  <a href="#ga56e3f8d816e2068d80003fdee7d58763">More...</a><br /></td></tr>
<tr class="separator:ga56e3f8d816e2068d80003fdee7d58763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga579676fd500ded40bc49dc53231fa658"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga579676fd500ded40bc49dc53231fa658">ATCA_ADDRESS_MASK</a>&#160;&#160;&#160;(0x007F)</td></tr>
<tr class="memdesc:ga579676fd500ded40bc49dc53231fa658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Address bit 7 to 15 are always 0.  <a href="#ga579676fd500ded40bc49dc53231fa658">More...</a><br /></td></tr>
<tr class="separator:ga579676fd500ded40bc49dc53231fa658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga988fff8295c1914217b8543b614f556c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga988fff8295c1914217b8543b614f556c">ATCA_TEMPKEY_KEYID</a>&#160;&#160;&#160;(0xFFFF)</td></tr>
<tr class="memdesc:ga988fff8295c1914217b8543b614f556c"><td class="mdescLeft">&#160;</td><td class="mdescRight">KeyID when referencing TempKey.  <a href="#ga988fff8295c1914217b8543b614f556c">More...</a><br /></td></tr>
<tr class="separator:ga988fff8295c1914217b8543b614f556c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for Key types</h2></td></tr>
<tr class="memitem:ga16f1550cc792fa205acef2106f2fcf54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga16f1550cc792fa205acef2106f2fcf54">ATCA_B283_KEY_TYPE</a>&#160;&#160;&#160;0</td></tr>
<tr class="memdesc:ga16f1550cc792fa205acef2106f2fcf54"><td class="mdescLeft">&#160;</td><td class="mdescRight">B283 NIST ECC key.  <a href="#ga16f1550cc792fa205acef2106f2fcf54">More...</a><br /></td></tr>
<tr class="separator:ga16f1550cc792fa205acef2106f2fcf54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac4e75cf70cf0cf946216ffefaf65525"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaac4e75cf70cf0cf946216ffefaf65525">ATCA_K283_KEY_TYPE</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:gaac4e75cf70cf0cf946216ffefaf65525"><td class="mdescLeft">&#160;</td><td class="mdescRight">K283 NIST ECC key.  <a href="#gaac4e75cf70cf0cf946216ffefaf65525">More...</a><br /></td></tr>
<tr class="separator:gaac4e75cf70cf0cf946216ffefaf65525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e53cd97c61a185ca397ebed8dc3edcb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6e53cd97c61a185ca397ebed8dc3edcb">ATCA_P256_KEY_TYPE</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga6e53cd97c61a185ca397ebed8dc3edcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">P256 NIST ECC key.  <a href="#ga6e53cd97c61a185ca397ebed8dc3edcb">More...</a><br /></td></tr>
<tr class="separator:ga6e53cd97c61a185ca397ebed8dc3edcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8335b06c5f49c384e2c2f31861865a54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8335b06c5f49c384e2c2f31861865a54">ATCA_AES_KEY_TYPE</a>&#160;&#160;&#160;6</td></tr>
<tr class="memdesc:ga8335b06c5f49c384e2c2f31861865a54"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES-128 Key.  <a href="#ga8335b06c5f49c384e2c2f31861865a54">More...</a><br /></td></tr>
<tr class="separator:ga8335b06c5f49c384e2c2f31861865a54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad325831ee2326885795706efd7b3b00e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad325831ee2326885795706efd7b3b00e">ATCA_SHA_KEY_TYPE</a>&#160;&#160;&#160;7</td></tr>
<tr class="memdesc:gad325831ee2326885795706efd7b3b00e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA key or other data.  <a href="#gad325831ee2326885795706efd7b3b00e">More...</a><br /></td></tr>
<tr class="separator:gad325831ee2326885795706efd7b3b00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the AES Command</h2></td></tr>
<tr class="memitem:ga890e2e40916e88caf596cff43be8ab23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga890e2e40916e88caf596cff43be8ab23">AES_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga890e2e40916e88caf596cff43be8ab23"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command index for mode.  <a href="#ga890e2e40916e88caf596cff43be8ab23">More...</a><br /></td></tr>
<tr class="separator:ga890e2e40916e88caf596cff43be8ab23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2809c87d994c49b53e039f752834fc97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2809c87d994c49b53e039f752834fc97">AES_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga2809c87d994c49b53e039f752834fc97"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command index for key id.  <a href="#ga2809c87d994c49b53e039f752834fc97">More...</a><br /></td></tr>
<tr class="separator:ga2809c87d994c49b53e039f752834fc97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafabb67121c9c58fac9829287b55a2389"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafabb67121c9c58fac9829287b55a2389">AES_INPUT_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:gafabb67121c9c58fac9829287b55a2389"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command index for input data.  <a href="#gafabb67121c9c58fac9829287b55a2389">More...</a><br /></td></tr>
<tr class="separator:gafabb67121c9c58fac9829287b55a2389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga72cc5ecbdfa169d282776461ce48fda6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga72cc5ecbdfa169d282776461ce48fda6">AES_COUNT</a>&#160;&#160;&#160;(23)</td></tr>
<tr class="memdesc:ga72cc5ecbdfa169d282776461ce48fda6"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command packet size.  <a href="#ga72cc5ecbdfa169d282776461ce48fda6">More...</a><br /></td></tr>
<tr class="separator:ga72cc5ecbdfa169d282776461ce48fda6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b2f5fb4edfbf4cb719aedbd7215b863"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7b2f5fb4edfbf4cb719aedbd7215b863">AES_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0xC7)</td></tr>
<tr class="memdesc:ga7b2f5fb4edfbf4cb719aedbd7215b863"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode bits 3 to 5 are 0.  <a href="#ga7b2f5fb4edfbf4cb719aedbd7215b863">More...</a><br /></td></tr>
<tr class="separator:ga7b2f5fb4edfbf4cb719aedbd7215b863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf54068dbf6ecb7bf8b1881caa0f3b89f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf54068dbf6ecb7bf8b1881caa0f3b89f">AES_MODE_KEY_BLOCK_MASK</a>&#160;&#160;&#160;((uint8_t)0xC0)</td></tr>
<tr class="memdesc:gaf54068dbf6ecb7bf8b1881caa0f3b89f"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode mask for key block field.  <a href="#gaf54068dbf6ecb7bf8b1881caa0f3b89f">More...</a><br /></td></tr>
<tr class="separator:gaf54068dbf6ecb7bf8b1881caa0f3b89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62c9e80674303aea5f92d76c92d30d2b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga62c9e80674303aea5f92d76c92d30d2b">AES_MODE_OP_MASK</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:ga62c9e80674303aea5f92d76c92d30d2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode operation mask.  <a href="#ga62c9e80674303aea5f92d76c92d30d2b">More...</a><br /></td></tr>
<tr class="separator:ga62c9e80674303aea5f92d76c92d30d2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ebee4d7d2d30a88ded25f9a6feecc52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5ebee4d7d2d30a88ded25f9a6feecc52">AES_MODE_ENCRYPT</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga5ebee4d7d2d30a88ded25f9a6feecc52"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode: Encrypt.  <a href="#ga5ebee4d7d2d30a88ded25f9a6feecc52">More...</a><br /></td></tr>
<tr class="separator:ga5ebee4d7d2d30a88ded25f9a6feecc52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01cd269d08661e645b4caee850424130"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga01cd269d08661e645b4caee850424130">AES_MODE_DECRYPT</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga01cd269d08661e645b4caee850424130"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode: Decrypt.  <a href="#ga01cd269d08661e645b4caee850424130">More...</a><br /></td></tr>
<tr class="separator:ga01cd269d08661e645b4caee850424130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34ec73cf7504b560883a5d192fe88793"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga34ec73cf7504b560883a5d192fe88793">AES_MODE_GFM</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga34ec73cf7504b560883a5d192fe88793"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES mode: GFM calculation.  <a href="#ga34ec73cf7504b560883a5d192fe88793">More...</a><br /></td></tr>
<tr class="separator:ga34ec73cf7504b560883a5d192fe88793"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbbbd4cd4cc05e2ea023f059676aa37e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabbbbd4cd4cc05e2ea023f059676aa37e">AES_MODE_KEY_BLOCK_POS</a>&#160;&#160;&#160;(6)</td></tr>
<tr class="memdesc:gabbbbd4cd4cc05e2ea023f059676aa37e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bit shift for key block in mode.  <a href="#gabbbbd4cd4cc05e2ea023f059676aa37e">More...</a><br /></td></tr>
<tr class="separator:gabbbbd4cd4cc05e2ea023f059676aa37e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8cbce00b91b0ddfb3264c9c367a3699a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8cbce00b91b0ddfb3264c9c367a3699a">AES_DATA_SIZE</a>&#160;&#160;&#160;(16)</td></tr>
<tr class="memdesc:ga8cbce00b91b0ddfb3264c9c367a3699a"><td class="mdescLeft">&#160;</td><td class="mdescRight">size of AES encrypt/decrypt data  <a href="#ga8cbce00b91b0ddfb3264c9c367a3699a">More...</a><br /></td></tr>
<tr class="separator:ga8cbce00b91b0ddfb3264c9c367a3699a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab24f797b7c19e899ef753d9901850e44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab24f797b7c19e899ef753d9901850e44">AES_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0be09b502137446daedc43f1d3e85f86">ATCA_RSP_SIZE_16</a></td></tr>
<tr class="memdesc:gab24f797b7c19e899ef753d9901850e44"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES command response packet size.  <a href="#gab24f797b7c19e899ef753d9901850e44">More...</a><br /></td></tr>
<tr class="separator:gab24f797b7c19e899ef753d9901850e44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the CheckMac Command</h2></td></tr>
<tr class="memitem:gae757542e1c4d4815e1dc8db034dca476"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae757542e1c4d4815e1dc8db034dca476">CHECKMAC_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gae757542e1c4d4815e1dc8db034dca476"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command index for mode.  <a href="#gae757542e1c4d4815e1dc8db034dca476">More...</a><br /></td></tr>
<tr class="separator:gae757542e1c4d4815e1dc8db034dca476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4203bbb296cd67d035066979657cf979"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4203bbb296cd67d035066979657cf979">CHECKMAC_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga4203bbb296cd67d035066979657cf979"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command index for key identifier.  <a href="#ga4203bbb296cd67d035066979657cf979">More...</a><br /></td></tr>
<tr class="separator:ga4203bbb296cd67d035066979657cf979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f2c0b2e264a88b766811fe4ea0de88f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0f2c0b2e264a88b766811fe4ea0de88f">CHECKMAC_CLIENT_CHALLENGE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:ga0f2c0b2e264a88b766811fe4ea0de88f"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command index for client challenge.  <a href="#ga0f2c0b2e264a88b766811fe4ea0de88f">More...</a><br /></td></tr>
<tr class="separator:ga0f2c0b2e264a88b766811fe4ea0de88f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga170c911bfe1a20e3572bdc5c2cd80c9d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga170c911bfe1a20e3572bdc5c2cd80c9d">CHECKMAC_CLIENT_RESPONSE_IDX</a>&#160;&#160;&#160;(37)</td></tr>
<tr class="memdesc:ga170c911bfe1a20e3572bdc5c2cd80c9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command index for client response.  <a href="#ga170c911bfe1a20e3572bdc5c2cd80c9d">More...</a><br /></td></tr>
<tr class="separator:ga170c911bfe1a20e3572bdc5c2cd80c9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ba2ec2d321b3f90f53c02c7fb9711f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1ba2ec2d321b3f90f53c02c7fb9711f2">CHECKMAC_DATA_IDX</a>&#160;&#160;&#160;(69)</td></tr>
<tr class="memdesc:ga1ba2ec2d321b3f90f53c02c7fb9711f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command index for other data.  <a href="#ga1ba2ec2d321b3f90f53c02c7fb9711f2">More...</a><br /></td></tr>
<tr class="separator:ga1ba2ec2d321b3f90f53c02c7fb9711f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c998ee3d596f3006a4488bd8657df33"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4c998ee3d596f3006a4488bd8657df33">CHECKMAC_COUNT</a>&#160;&#160;&#160;(84)</td></tr>
<tr class="memdesc:ga4c998ee3d596f3006a4488bd8657df33"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC command packet size.  <a href="#ga4c998ee3d596f3006a4488bd8657df33">More...</a><br /></td></tr>
<tr class="separator:ga4c998ee3d596f3006a4488bd8657df33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaabcd1e4afb29088a17f7e87e7136e24"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaaabcd1e4afb29088a17f7e87e7136e24">CHECKMAC_MODE_CHALLENGE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gaaabcd1e4afb29088a17f7e87e7136e24"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode 0: first SHA block from key id.  <a href="#gaaabcd1e4afb29088a17f7e87e7136e24">More...</a><br /></td></tr>
<tr class="separator:gaaabcd1e4afb29088a17f7e87e7136e24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40d926e0e037fc8bb265bb19f57e5d1a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga40d926e0e037fc8bb265bb19f57e5d1a">CHECKMAC_MODE_BLOCK2_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga40d926e0e037fc8bb265bb19f57e5d1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode bit 0: second SHA block from TempKey.  <a href="#ga40d926e0e037fc8bb265bb19f57e5d1a">More...</a><br /></td></tr>
<tr class="separator:ga40d926e0e037fc8bb265bb19f57e5d1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9088fc1b89c3ca9b58901de000d8d55d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9088fc1b89c3ca9b58901de000d8d55d">CHECKMAC_MODE_BLOCK1_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga9088fc1b89c3ca9b58901de000d8d55d"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode bit 1: first SHA block from TempKey.  <a href="#ga9088fc1b89c3ca9b58901de000d8d55d">More...</a><br /></td></tr>
<tr class="separator:ga9088fc1b89c3ca9b58901de000d8d55d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad">CHECKMAC_MODE_SOURCE_FLAG_MATCH</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode bit 2: match TempKey.SourceFlag.  <a href="#gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad">More...</a><br /></td></tr>
<tr class="separator:gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabeef4ff866116f4e17a6c3ad94b0a286"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabeef4ff866116f4e17a6c3ad94b0a286">CHECKMAC_MODE_INCLUDE_OTP_64</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:gabeef4ff866116f4e17a6c3ad94b0a286"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode bit 5: include first 64 OTP bits.  <a href="#gabeef4ff866116f4e17a6c3ad94b0a286">More...</a><br /></td></tr>
<tr class="separator:gabeef4ff866116f4e17a6c3ad94b0a286"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67e74cb132024711cf064ff98021d71f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga67e74cb132024711cf064ff98021d71f">CHECKMAC_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x27)</td></tr>
<tr class="memdesc:ga67e74cb132024711cf064ff98021d71f"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC mode bits 3, 4, 6, and 7 are 0.  <a href="#ga67e74cb132024711cf064ff98021d71f">More...</a><br /></td></tr>
<tr class="separator:ga67e74cb132024711cf064ff98021d71f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c7444c099cf0f89f754fd3cbec77bf4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3c7444c099cf0f89f754fd3cbec77bf4">CHECKMAC_CLIENT_CHALLENGE_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga3c7444c099cf0f89f754fd3cbec77bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC size of client challenge.  <a href="#ga3c7444c099cf0f89f754fd3cbec77bf4">More...</a><br /></td></tr>
<tr class="separator:ga3c7444c099cf0f89f754fd3cbec77bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga93cb0fdfc89b69cb1c4670f30288f2ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga93cb0fdfc89b69cb1c4670f30288f2ad">CHECKMAC_CLIENT_RESPONSE_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga93cb0fdfc89b69cb1c4670f30288f2ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC size of client response.  <a href="#ga93cb0fdfc89b69cb1c4670f30288f2ad">More...</a><br /></td></tr>
<tr class="separator:ga93cb0fdfc89b69cb1c4670f30288f2ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c365741639a5c7dc29267a130e8d827"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7c365741639a5c7dc29267a130e8d827">CHECKMAC_OTHER_DATA_SIZE</a>&#160;&#160;&#160;(13)</td></tr>
<tr class="memdesc:ga7c365741639a5c7dc29267a130e8d827"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC size of "other data".  <a href="#ga7c365741639a5c7dc29267a130e8d827">More...</a><br /></td></tr>
<tr class="separator:ga7c365741639a5c7dc29267a130e8d827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3d431e17094b6690d443e0a038da9e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad3d431e17094b6690d443e0a038da9e2">CHECKMAC_CLIENT_COMMAND_SIZE</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="memdesc:gad3d431e17094b6690d443e0a038da9e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC size of client command header size inside "other data".  <a href="#gad3d431e17094b6690d443e0a038da9e2">More...</a><br /></td></tr>
<tr class="separator:gad3d431e17094b6690d443e0a038da9e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09b26b691e29966bcec1513edf819efe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga09b26b691e29966bcec1513edf819efe">CHECKMAC_CMD_MATCH</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga09b26b691e29966bcec1513edf819efe"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC return value when there is a match.  <a href="#ga09b26b691e29966bcec1513edf819efe">More...</a><br /></td></tr>
<tr class="separator:ga09b26b691e29966bcec1513edf819efe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1db673cb318ec36ebd0c9c1a5ce301ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1db673cb318ec36ebd0c9c1a5ce301ad">CHECKMAC_CMD_MISMATCH</a>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:ga1db673cb318ec36ebd0c9c1a5ce301ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC return value when there is a mismatch.  <a href="#ga1db673cb318ec36ebd0c9c1a5ce301ad">More...</a><br /></td></tr>
<tr class="separator:ga1db673cb318ec36ebd0c9c1a5ce301ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa44ecaa440ab845d5939333171476adf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa44ecaa440ab845d5939333171476adf">CHECKMAC_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:gaa44ecaa440ab845d5939333171476adf"><td class="mdescLeft">&#160;</td><td class="mdescRight">CheckMAC response packet size.  <a href="#gaa44ecaa440ab845d5939333171476adf">More...</a><br /></td></tr>
<tr class="separator:gaa44ecaa440ab845d5939333171476adf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Counter command</h2></td></tr>
<tr class="memitem:ga20f86d5c7f97f2513eebddce69917fbf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga20f86d5c7f97f2513eebddce69917fbf">COUNTER_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="separator:ga20f86d5c7f97f2513eebddce69917fbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83a00fa1769c54aeb5ad02bdfba5b3e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga83a00fa1769c54aeb5ad02bdfba5b3e7">COUNTER_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga83a00fa1769c54aeb5ad02bdfba5b3e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command index for mode.  <a href="#ga83a00fa1769c54aeb5ad02bdfba5b3e7">More...</a><br /></td></tr>
<tr class="separator:ga83a00fa1769c54aeb5ad02bdfba5b3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga269bd52a7856116ebce13c1072f56d9e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga269bd52a7856116ebce13c1072f56d9e">COUNTER_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga269bd52a7856116ebce13c1072f56d9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command index for key id.  <a href="#ga269bd52a7856116ebce13c1072f56d9e">More...</a><br /></td></tr>
<tr class="separator:ga269bd52a7856116ebce13c1072f56d9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b90ca417a76facaeec91d8f2c10f860"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7b90ca417a76facaeec91d8f2c10f860">COUNTER_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga7b90ca417a76facaeec91d8f2c10f860"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter mode bits 1 to 7 are 0.  <a href="#ga7b90ca417a76facaeec91d8f2c10f860">More...</a><br /></td></tr>
<tr class="separator:ga7b90ca417a76facaeec91d8f2c10f860"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc722de99f444668d09e3815fcc78400"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabc722de99f444668d09e3815fcc78400">COUNTER_MAX_VALUE</a>&#160;&#160;&#160;((uint32_t)2097151)</td></tr>
<tr class="memdesc:gabc722de99f444668d09e3815fcc78400"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter maximum value of the counter.  <a href="#gabc722de99f444668d09e3815fcc78400">More...</a><br /></td></tr>
<tr class="separator:gabc722de99f444668d09e3815fcc78400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e3355c5ab7c48cfe466c9374ccc698e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4e3355c5ab7c48cfe466c9374ccc698e">COUNTER_MODE_READ</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga4e3355c5ab7c48cfe466c9374ccc698e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command mode for reading.  <a href="#ga4e3355c5ab7c48cfe466c9374ccc698e">More...</a><br /></td></tr>
<tr class="separator:ga4e3355c5ab7c48cfe466c9374ccc698e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadb200c87d6dedb5768eeb8395e697c2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaadb200c87d6dedb5768eeb8395e697c2">COUNTER_MODE_INCREMENT</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:gaadb200c87d6dedb5768eeb8395e697c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command mode for incrementing.  <a href="#gaadb200c87d6dedb5768eeb8395e697c2">More...</a><br /></td></tr>
<tr class="separator:gaadb200c87d6dedb5768eeb8395e697c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66287a8b6f625f866b5cecc4845993ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga66287a8b6f625f866b5cecc4845993ed">COUNTER_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga15cc6f16cdb8f11b60981af7c3b15ef8">ATCA_RSP_SIZE_4</a></td></tr>
<tr class="memdesc:ga66287a8b6f625f866b5cecc4845993ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter command response packet size.  <a href="#ga66287a8b6f625f866b5cecc4845993ed">More...</a><br /></td></tr>
<tr class="separator:ga66287a8b6f625f866b5cecc4845993ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the DeriveKey Command</h2></td></tr>
<tr class="memitem:ga3495c2fd81985342858bac47300bcdc8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3495c2fd81985342858bac47300bcdc8">DERIVE_KEY_RANDOM_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga3495c2fd81985342858bac47300bcdc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command index for random bit.  <a href="#ga3495c2fd81985342858bac47300bcdc8">More...</a><br /></td></tr>
<tr class="separator:ga3495c2fd81985342858bac47300bcdc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7216bb6f51f67f09e5372c7f731bf23a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7216bb6f51f67f09e5372c7f731bf23a">DERIVE_KEY_TARGETKEY_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga7216bb6f51f67f09e5372c7f731bf23a"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command index for target slot.  <a href="#ga7216bb6f51f67f09e5372c7f731bf23a">More...</a><br /></td></tr>
<tr class="separator:ga7216bb6f51f67f09e5372c7f731bf23a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3f89b5db216fd58ae2de3ebd52e26c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac3f89b5db216fd58ae2de3ebd52e26c5">DERIVE_KEY_MAC_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:gac3f89b5db216fd58ae2de3ebd52e26c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command index for optional MAC.  <a href="#gac3f89b5db216fd58ae2de3ebd52e26c5">More...</a><br /></td></tr>
<tr class="separator:gac3f89b5db216fd58ae2de3ebd52e26c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a3d3289c719d81f95b3d025a2564c9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3a3d3289c719d81f95b3d025a2564c9f">DERIVE_KEY_COUNT_SMALL</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga3a3d3289c719d81f95b3d025a2564c9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command packet size without MAC.  <a href="#ga3a3d3289c719d81f95b3d025a2564c9f">More...</a><br /></td></tr>
<tr class="separator:ga3a3d3289c719d81f95b3d025a2564c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6d810ee00947694d9b95d95db0b2f3c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac6d810ee00947694d9b95d95db0b2f3c">DERIVE_KEY_MODE</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gac6d810ee00947694d9b95d95db0b2f3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command mode set to 4 as in datasheet.  <a href="#gac6d810ee00947694d9b95d95db0b2f3c">More...</a><br /></td></tr>
<tr class="separator:gac6d810ee00947694d9b95d95db0b2f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0386500d37b5502158a62b8d864580f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac0386500d37b5502158a62b8d864580f">DERIVE_KEY_COUNT_LARGE</a>&#160;&#160;&#160;(39)</td></tr>
<tr class="memdesc:gac0386500d37b5502158a62b8d864580f"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey command packet size with MAC.  <a href="#gac0386500d37b5502158a62b8d864580f">More...</a><br /></td></tr>
<tr class="separator:gac0386500d37b5502158a62b8d864580f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6f89d1bb03ed8d84e230bedca57ddd9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad6f89d1bb03ed8d84e230bedca57ddd9">DERIVE_KEY_RANDOM_FLAG</a>&#160;&#160;&#160;((uint8_t)4)</td></tr>
<tr class="memdesc:gad6f89d1bb03ed8d84e230bedca57ddd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey 1. parameter; has to match TempKey.SourceFlag.  <a href="#gad6f89d1bb03ed8d84e230bedca57ddd9">More...</a><br /></td></tr>
<tr class="separator:gad6f89d1bb03ed8d84e230bedca57ddd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaffa79c933fa76585479228b15c2cbc83"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaffa79c933fa76585479228b15c2cbc83">DERIVE_KEY_MAC_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gaffa79c933fa76585479228b15c2cbc83"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey MAC size.  <a href="#gaffa79c933fa76585479228b15c2cbc83">More...</a><br /></td></tr>
<tr class="separator:gaffa79c933fa76585479228b15c2cbc83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga766a94a7e38b558e1165b24de78d21db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga766a94a7e38b558e1165b24de78d21db">DERIVE_KEY_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga766a94a7e38b558e1165b24de78d21db"><td class="mdescLeft">&#160;</td><td class="mdescRight">DeriveKey response packet size.  <a href="#ga766a94a7e38b558e1165b24de78d21db">More...</a><br /></td></tr>
<tr class="separator:ga766a94a7e38b558e1165b24de78d21db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the ECDH Command</h2></td></tr>
<tr class="memitem:ga928b142d4f3727104100dee0d0330f83"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga928b142d4f3727104100dee0d0330f83">ECDH_PREFIX_MODE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:ga928b142d4f3727104100dee0d0330f83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8ad6785828f72b793fb4452f3cb6698"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf8ad6785828f72b793fb4452f3cb6698">ECDH_COUNT</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga07089e8e8b1aa335ddfd37e591f64ebb">ATCA_PUB_KEY_SIZE</a>)</td></tr>
<tr class="separator:gaf8ad6785828f72b793fb4452f3cb6698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b24dc2030441b0bf952d8c297b22a41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7b24dc2030441b0bf952d8c297b22a41">ECDH_MODE_SOURCE_MASK</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga7b24dc2030441b0bf952d8c297b22a41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae53c5f9d3aaa1b75dd1d0ffa3ab861d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae53c5f9d3aaa1b75dd1d0ffa3ab861d3">ECDH_MODE_SOURCE_EEPROM_SLOT</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:gae53c5f9d3aaa1b75dd1d0ffa3ab861d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bf558eb7c48b79f3df382c3ec7d454d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9bf558eb7c48b79f3df382c3ec7d454d">ECDH_MODE_SOURCE_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga9bf558eb7c48b79f3df382c3ec7d454d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b2c07254f098dc8f8d87f2e09703adb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2b2c07254f098dc8f8d87f2e09703adb">ECDH_MODE_OUTPUT_MASK</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="separator:ga2b2c07254f098dc8f8d87f2e09703adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa56ce725d85dcfbf7c217a748ca0a8b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa56ce725d85dcfbf7c217a748ca0a8b1">ECDH_MODE_OUTPUT_CLEAR</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:gaa56ce725d85dcfbf7c217a748ca0a8b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ea0e257512fa047f26910c6605a9769"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0ea0e257512fa047f26910c6605a9769">ECDH_MODE_OUTPUT_ENC</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="separator:ga0ea0e257512fa047f26910c6605a9769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb0b0b4ae54efabd5bd3c906935620ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafb0b0b4ae54efabd5bd3c906935620ca">ECDH_MODE_COPY_MASK</a>&#160;&#160;&#160;((uint8_t)0x0C)</td></tr>
<tr class="separator:gafb0b0b4ae54efabd5bd3c906935620ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e360558cd7cb842198cd8cd5d7a3da6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0e360558cd7cb842198cd8cd5d7a3da6">ECDH_MODE_COPY_COMPATIBLE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:ga0e360558cd7cb842198cd8cd5d7a3da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4abde1839cbeb254d79f1deac8d42c9e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4abde1839cbeb254d79f1deac8d42c9e">ECDH_MODE_COPY_EEPROM_SLOT</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="separator:ga4abde1839cbeb254d79f1deac8d42c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e9ea268fbc8b0b5bb038ae30b5ec500"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7e9ea268fbc8b0b5bb038ae30b5ec500">ECDH_MODE_COPY_TEMP_KEY</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="separator:ga7e9ea268fbc8b0b5bb038ae30b5ec500"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f6024d4d7e0fcd026fac40297db4c96"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4f6024d4d7e0fcd026fac40297db4c96">ECDH_MODE_COPY_OUTPUT_BUFFER</a>&#160;&#160;&#160;((uint8_t)0x0C)</td></tr>
<tr class="separator:ga4f6024d4d7e0fcd026fac40297db4c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa21e10945076d803129feb07946591f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa21e10945076d803129feb07946591f9">ECDH_KEY_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gaa0117f3d3f9a9ae65a3fab1e68b7caef">ATCA_BLOCK_SIZE</a></td></tr>
<tr class="memdesc:gaa21e10945076d803129feb07946591f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ECDH output data size.  <a href="#gaa21e10945076d803129feb07946591f9">More...</a><br /></td></tr>
<tr class="separator:gaa21e10945076d803129feb07946591f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa667451bf2e061c3e76a7a8a5d8b86d4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa667451bf2e061c3e76a7a8a5d8b86d4">ECDH_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga5b7ad7c3c75639352af5ad3b1298500c">ATCA_RSP_SIZE_64</a></td></tr>
<tr class="memdesc:gaa667451bf2e061c3e76a7a8a5d8b86d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ECDH command packet size.  <a href="#gaa667451bf2e061c3e76a7a8a5d8b86d4">More...</a><br /></td></tr>
<tr class="separator:gaa667451bf2e061c3e76a7a8a5d8b86d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the GenDig Command</h2></td></tr>
<tr class="memitem:gab79b57111a49362bd51922813cb84355"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab79b57111a49362bd51922813cb84355">GENDIG_ZONE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gab79b57111a49362bd51922813cb84355"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command index for zone.  <a href="#gab79b57111a49362bd51922813cb84355">More...</a><br /></td></tr>
<tr class="separator:gab79b57111a49362bd51922813cb84355"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2d5b5de26d0318ba6db3ad1055eb6ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac2d5b5de26d0318ba6db3ad1055eb6ec">GENDIG_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gac2d5b5de26d0318ba6db3ad1055eb6ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command index for key id.  <a href="#gac2d5b5de26d0318ba6db3ad1055eb6ec">More...</a><br /></td></tr>
<tr class="separator:gac2d5b5de26d0318ba6db3ad1055eb6ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac101f854026596231715eca664550e36"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac101f854026596231715eca664550e36">GENDIG_DATA_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:gac101f854026596231715eca664550e36"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command index for optional data.  <a href="#gac101f854026596231715eca664550e36">More...</a><br /></td></tr>
<tr class="separator:gac101f854026596231715eca664550e36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga235eb9557fa074bf152f9ce9c5844058"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga235eb9557fa074bf152f9ce9c5844058">GENDIG_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga235eb9557fa074bf152f9ce9c5844058"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command packet size without "other data".  <a href="#ga235eb9557fa074bf152f9ce9c5844058">More...</a><br /></td></tr>
<tr class="separator:ga235eb9557fa074bf152f9ce9c5844058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cab0c5dd2e3796497a5237f101f19e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9cab0c5dd2e3796497a5237f101f19e0">GENDIG_ZONE_CONFIG</a>&#160;&#160;&#160;((uint8_t)0)</td></tr>
<tr class="memdesc:ga9cab0c5dd2e3796497a5237f101f19e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id config. Use KeyID to specify any of the four 256-bit blocks of the Configuration zone.  <a href="#ga9cab0c5dd2e3796497a5237f101f19e0">More...</a><br /></td></tr>
<tr class="separator:ga9cab0c5dd2e3796497a5237f101f19e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee95b219cf932dfedb3a3c5e23d01a9d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaee95b219cf932dfedb3a3c5e23d01a9d">GENDIG_ZONE_OTP</a>&#160;&#160;&#160;((uint8_t)1)</td></tr>
<tr class="memdesc:gaee95b219cf932dfedb3a3c5e23d01a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id OTP. Use KeyID to specify either the first or second 256-bit block of the OTP zone.  <a href="#gaee95b219cf932dfedb3a3c5e23d01a9d">More...</a><br /></td></tr>
<tr class="separator:gaee95b219cf932dfedb3a3c5e23d01a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc21880360bdce990ad724fa7a7d9bf0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabc21880360bdce990ad724fa7a7d9bf0">GENDIG_ZONE_DATA</a>&#160;&#160;&#160;((uint8_t)2)</td></tr>
<tr class="memdesc:gabc21880360bdce990ad724fa7a7d9bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id data. Use KeyID to specify a slot in the Data zone or a transport key in the hardware array.  <a href="#gabc21880360bdce990ad724fa7a7d9bf0">More...</a><br /></td></tr>
<tr class="separator:gabc21880360bdce990ad724fa7a7d9bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49923a8835f64294a5e9b3660c80dc7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga49923a8835f64294a5e9b3660c80dc7e">GENDIG_ZONE_SHARED_NONCE</a>&#160;&#160;&#160;((uint8_t)3)</td></tr>
<tr class="memdesc:ga49923a8835f64294a5e9b3660c80dc7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id shared nonce. KeyID specifies the location of the input value in the message generation.  <a href="#ga49923a8835f64294a5e9b3660c80dc7e">More...</a><br /></td></tr>
<tr class="separator:ga49923a8835f64294a5e9b3660c80dc7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84f07835d69fed7484299c78f4971a3e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga84f07835d69fed7484299c78f4971a3e">GENDIG_ZONE_COUNTER</a>&#160;&#160;&#160;((uint8_t)4)</td></tr>
<tr class="memdesc:ga84f07835d69fed7484299c78f4971a3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id counter. KeyID specifies the monotonic counter ID to be included in the message generation.  <a href="#ga84f07835d69fed7484299c78f4971a3e">More...</a><br /></td></tr>
<tr class="separator:ga84f07835d69fed7484299c78f4971a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba61a1bd245d7471e59a39577498065b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaba61a1bd245d7471e59a39577498065b">GENDIG_ZONE_KEY_CONFIG</a>&#160;&#160;&#160;((uint8_t)5)</td></tr>
<tr class="memdesc:gaba61a1bd245d7471e59a39577498065b"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig zone id key config. KeyID specifies the slot for which the configuration information is to be included in the message generation.  <a href="#gaba61a1bd245d7471e59a39577498065b">More...</a><br /></td></tr>
<tr class="separator:gaba61a1bd245d7471e59a39577498065b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c26247a084a027f06a2aaf692313f12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2c26247a084a027f06a2aaf692313f12">GENDIG_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga2c26247a084a027f06a2aaf692313f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenDig command response packet size.  <a href="#ga2c26247a084a027f06a2aaf692313f12">More...</a><br /></td></tr>
<tr class="separator:ga2c26247a084a027f06a2aaf692313f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the GenKey Command</h2></td></tr>
<tr class="memitem:gaf120353f5e8e159eaa9c930555b159d5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf120353f5e8e159eaa9c930555b159d5">GENKEY_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gaf120353f5e8e159eaa9c930555b159d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command index for mode.  <a href="#gaf120353f5e8e159eaa9c930555b159d5">More...</a><br /></td></tr>
<tr class="separator:gaf120353f5e8e159eaa9c930555b159d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5cacc01be37cebf35e300be96893477e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5cacc01be37cebf35e300be96893477e">GENKEY_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga5cacc01be37cebf35e300be96893477e"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command index for key id.  <a href="#ga5cacc01be37cebf35e300be96893477e">More...</a><br /></td></tr>
<tr class="separator:ga5cacc01be37cebf35e300be96893477e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9163acda5dd0653f40b6ad445f2c972d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9163acda5dd0653f40b6ad445f2c972d">GENKEY_DATA_IDX</a>&#160;&#160;&#160;(5)</td></tr>
<tr class="memdesc:ga9163acda5dd0653f40b6ad445f2c972d"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command index for other data.  <a href="#ga9163acda5dd0653f40b6ad445f2c972d">More...</a><br /></td></tr>
<tr class="separator:ga9163acda5dd0653f40b6ad445f2c972d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6782a07fce203169aba6dd32f8ab123"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab6782a07fce203169aba6dd32f8ab123">GENKEY_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gab6782a07fce203169aba6dd32f8ab123"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command packet size without "other data".  <a href="#gab6782a07fce203169aba6dd32f8ab123">More...</a><br /></td></tr>
<tr class="separator:gab6782a07fce203169aba6dd32f8ab123"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07289de41178ecfb6392da31e31e27c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga07289de41178ecfb6392da31e31e27c3">GENKEY_COUNT_DATA</a>&#160;&#160;&#160;(10)</td></tr>
<tr class="memdesc:ga07289de41178ecfb6392da31e31e27c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey command packet size with "other data".  <a href="#ga07289de41178ecfb6392da31e31e27c3">More...</a><br /></td></tr>
<tr class="separator:ga07289de41178ecfb6392da31e31e27c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62644ffb962c56fbea154526a2a84b40"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga62644ffb962c56fbea154526a2a84b40">GENKEY_OTHER_DATA_SIZE</a>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:ga62644ffb962c56fbea154526a2a84b40"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey size of "other data".  <a href="#ga62644ffb962c56fbea154526a2a84b40">More...</a><br /></td></tr>
<tr class="separator:ga62644ffb962c56fbea154526a2a84b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3984c137090a2d103b2089c7ac31642"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa3984c137090a2d103b2089c7ac31642">GENKEY_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x1C)</td></tr>
<tr class="memdesc:gaa3984c137090a2d103b2089c7ac31642"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey mode bits 0 to 1 and 5 to 7 are 0.  <a href="#gaa3984c137090a2d103b2089c7ac31642">More...</a><br /></td></tr>
<tr class="separator:gaa3984c137090a2d103b2089c7ac31642"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc25fc4bebaac1582bb57d791f72356d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadc25fc4bebaac1582bb57d791f72356d">GENKEY_MODE_PRIVATE</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gadc25fc4bebaac1582bb57d791f72356d"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey mode: private key generation.  <a href="#gadc25fc4bebaac1582bb57d791f72356d">More...</a><br /></td></tr>
<tr class="separator:gadc25fc4bebaac1582bb57d791f72356d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03e556ba7849f28ee8c58df8921cba66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga03e556ba7849f28ee8c58df8921cba66">GENKEY_MODE_PUBLIC</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga03e556ba7849f28ee8c58df8921cba66"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey mode: public key calculation.  <a href="#ga03e556ba7849f28ee8c58df8921cba66">More...</a><br /></td></tr>
<tr class="separator:ga03e556ba7849f28ee8c58df8921cba66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga609531b6e844f5a9eebd7c4dcd869b16"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga609531b6e844f5a9eebd7c4dcd869b16">GENKEY_MODE_DIGEST</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="memdesc:ga609531b6e844f5a9eebd7c4dcd869b16"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey mode: PubKey digest will be created after the public key is calculated.  <a href="#ga609531b6e844f5a9eebd7c4dcd869b16">More...</a><br /></td></tr>
<tr class="separator:ga609531b6e844f5a9eebd7c4dcd869b16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d9a1e331d54bffb36f7b4e97af5d161"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8d9a1e331d54bffb36f7b4e97af5d161">GENKEY_MODE_PUBKEY_DIGEST</a>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="memdesc:ga8d9a1e331d54bffb36f7b4e97af5d161"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey mode: Calculate PubKey digest on the public key in KeyId.  <a href="#ga8d9a1e331d54bffb36f7b4e97af5d161">More...</a><br /></td></tr>
<tr class="separator:ga8d9a1e331d54bffb36f7b4e97af5d161"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5b1ead29f3ce3cee52d106af531ab86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad5b1ead29f3ce3cee52d106af531ab86">GENKEY_PRIVATE_TO_TEMPKEY</a>&#160;&#160;&#160;((uint16_t)0xFFFF)</td></tr>
<tr class="memdesc:gad5b1ead29f3ce3cee52d106af531ab86"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey Create private key and store to tempkey (608 only)  <a href="#gad5b1ead29f3ce3cee52d106af531ab86">More...</a><br /></td></tr>
<tr class="separator:gad5b1ead29f3ce3cee52d106af531ab86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0543a644422ffc7460eeeb78799bde16"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0543a644422ffc7460eeeb78799bde16">GENKEY_RSP_SIZE_SHORT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga0543a644422ffc7460eeeb78799bde16"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey response packet size in Digest mode.  <a href="#ga0543a644422ffc7460eeeb78799bde16">More...</a><br /></td></tr>
<tr class="separator:ga0543a644422ffc7460eeeb78799bde16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08e8a80be2717ece7c5ed5cc0a27fbab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga08e8a80be2717ece7c5ed5cc0a27fbab">GENKEY_RSP_SIZE_LONG</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga5b7ad7c3c75639352af5ad3b1298500c">ATCA_RSP_SIZE_64</a></td></tr>
<tr class="memdesc:ga08e8a80be2717ece7c5ed5cc0a27fbab"><td class="mdescLeft">&#160;</td><td class="mdescRight">GenKey response packet size when returning a public key.  <a href="#ga08e8a80be2717ece7c5ed5cc0a27fbab">More...</a><br /></td></tr>
<tr class="separator:ga08e8a80be2717ece7c5ed5cc0a27fbab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the HMAC Command</h2></td></tr>
<tr class="memitem:gadf58a677811566e8446870523bb65850"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadf58a677811566e8446870523bb65850">HMAC_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gadf58a677811566e8446870523bb65850"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC command index for mode.  <a href="#gadf58a677811566e8446870523bb65850">More...</a><br /></td></tr>
<tr class="separator:gadf58a677811566e8446870523bb65850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23673926f1dd2464bd20f6512985d855"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga23673926f1dd2464bd20f6512985d855">HMAC_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga23673926f1dd2464bd20f6512985d855"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC command index for key id.  <a href="#ga23673926f1dd2464bd20f6512985d855">More...</a><br /></td></tr>
<tr class="separator:ga23673926f1dd2464bd20f6512985d855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga041d4cd845319ea0a693a1c4008b2a06"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga041d4cd845319ea0a693a1c4008b2a06">HMAC_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga041d4cd845319ea0a693a1c4008b2a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC command packet size.  <a href="#ga041d4cd845319ea0a693a1c4008b2a06">More...</a><br /></td></tr>
<tr class="separator:ga041d4cd845319ea0a693a1c4008b2a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08326ee33be4faaec3be800e80c1cc17"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga08326ee33be4faaec3be800e80c1cc17">HMAC_MODE_FLAG_TK_RAND</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga08326ee33be4faaec3be800e80c1cc17"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bit 2: The value of this bit must match the value in TempKey.SourceFlag or the command will return an error.  <a href="#ga08326ee33be4faaec3be800e80c1cc17">More...</a><br /></td></tr>
<tr class="separator:ga08326ee33be4faaec3be800e80c1cc17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3b1177210ba941afa527bacbcfd4fab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac3b1177210ba941afa527bacbcfd4fab">HMAC_MODE_FLAG_TK_NORAND</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gac3b1177210ba941afa527bacbcfd4fab"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bit 2: The value of this bit must match the value in TempKey.SourceFlag or the command will return an error.  <a href="#gac3b1177210ba941afa527bacbcfd4fab">More...</a><br /></td></tr>
<tr class="separator:gac3b1177210ba941afa527bacbcfd4fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34be98ca6fb22f331eb62cfc4104ded6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga34be98ca6fb22f331eb62cfc4104ded6">HMAC_MODE_FLAG_OTP88</a>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="memdesc:ga34be98ca6fb22f331eb62cfc4104ded6"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bit 4: Include the first 88 OTP bits (OTP[0] through OTP[10]) in the message.; otherwise, the corresponding message bits are set to zero. Not applicable for ATECC508A.  <a href="#ga34be98ca6fb22f331eb62cfc4104ded6">More...</a><br /></td></tr>
<tr class="separator:ga34be98ca6fb22f331eb62cfc4104ded6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62261a1c6f121c296dce7e0f697c9a4a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga62261a1c6f121c296dce7e0f697c9a4a">HMAC_MODE_FLAG_OTP64</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:ga62261a1c6f121c296dce7e0f697c9a4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bit 5: Include the first 64 OTP bits (OTP[0] through OTP[7]) in the message.; otherwise, the corresponding message bits are set to zero. If Mode[4] is set, the value of this mode bit is ignored. Not applicable for ATECC508A.  <a href="#ga62261a1c6f121c296dce7e0f697c9a4a">More...</a><br /></td></tr>
<tr class="separator:ga62261a1c6f121c296dce7e0f697c9a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga564f52346bfc03bdd50aa7d03974efe7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga564f52346bfc03bdd50aa7d03974efe7">HMAC_MODE_FLAG_FULLSN</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga564f52346bfc03bdd50aa7d03974efe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bit 6: If set, include the 48 bits SN[2:3] and SN[4:7] in the message.; otherwise, the corresponding message bits are set to zero.  <a href="#ga564f52346bfc03bdd50aa7d03974efe7">More...</a><br /></td></tr>
<tr class="separator:ga564f52346bfc03bdd50aa7d03974efe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8250b0997534871fdd6ead1c3aa220ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8250b0997534871fdd6ead1c3aa220ba">HMAC_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x74)</td></tr>
<tr class="memdesc:ga8250b0997534871fdd6ead1c3aa220ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC mode bits 0, 1, 3, and 7 are 0.  <a href="#ga8250b0997534871fdd6ead1c3aa220ba">More...</a><br /></td></tr>
<tr class="separator:ga8250b0997534871fdd6ead1c3aa220ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd5976f898b9f67ea8e21df4e27fb712"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gacd5976f898b9f67ea8e21df4e27fb712">HMAC_DIGEST_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gacd5976f898b9f67ea8e21df4e27fb712"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC size of digest response.  <a href="#gacd5976f898b9f67ea8e21df4e27fb712">More...</a><br /></td></tr>
<tr class="separator:gacd5976f898b9f67ea8e21df4e27fb712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadec1fd29e8c6b2f804fc4050778dafc8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadec1fd29e8c6b2f804fc4050778dafc8">HMAC_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:gadec1fd29e8c6b2f804fc4050778dafc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">HMAC command response packet size.  <a href="#gadec1fd29e8c6b2f804fc4050778dafc8">More...</a><br /></td></tr>
<tr class="separator:gadec1fd29e8c6b2f804fc4050778dafc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Info Command</h2></td></tr>
<tr class="memitem:ga9d72194dbe94bd2f5d3b0e9aa2dc85ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9d72194dbe94bd2f5d3b0e9aa2dc85ac">INFO_PARAM1_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga9d72194dbe94bd2f5d3b0e9aa2dc85ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info command index for 1. parameter.  <a href="#ga9d72194dbe94bd2f5d3b0e9aa2dc85ac">More...</a><br /></td></tr>
<tr class="separator:ga9d72194dbe94bd2f5d3b0e9aa2dc85ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09e4830c78dedfa2ce662e0fdbe430e3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga09e4830c78dedfa2ce662e0fdbe430e3">INFO_PARAM2_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga09e4830c78dedfa2ce662e0fdbe430e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info command index for 2. parameter.  <a href="#ga09e4830c78dedfa2ce662e0fdbe430e3">More...</a><br /></td></tr>
<tr class="separator:ga09e4830c78dedfa2ce662e0fdbe430e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee1a29942cf2b3637a65506dc6b5d4fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaee1a29942cf2b3637a65506dc6b5d4fe">INFO_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gaee1a29942cf2b3637a65506dc6b5d4fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info command packet size.  <a href="#gaee1a29942cf2b3637a65506dc6b5d4fe">More...</a><br /></td></tr>
<tr class="separator:gaee1a29942cf2b3637a65506dc6b5d4fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae591dd29af805fc5b63e5b06d5e7c450"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae591dd29af805fc5b63e5b06d5e7c450">INFO_MODE_REVISION</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gae591dd29af805fc5b63e5b06d5e7c450"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode Revision.  <a href="#gae591dd29af805fc5b63e5b06d5e7c450">More...</a><br /></td></tr>
<tr class="separator:gae591dd29af805fc5b63e5b06d5e7c450"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f746e9967643e3234727eaa5a0b274b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6f746e9967643e3234727eaa5a0b274b">INFO_MODE_KEY_VALID</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga6f746e9967643e3234727eaa5a0b274b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode KeyValid.  <a href="#ga6f746e9967643e3234727eaa5a0b274b">More...</a><br /></td></tr>
<tr class="separator:ga6f746e9967643e3234727eaa5a0b274b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7432ca6b291e32e962fabaa6d604a8bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7432ca6b291e32e962fabaa6d604a8bc">INFO_MODE_STATE</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga7432ca6b291e32e962fabaa6d604a8bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode State.  <a href="#ga7432ca6b291e32e962fabaa6d604a8bc">More...</a><br /></td></tr>
<tr class="separator:ga7432ca6b291e32e962fabaa6d604a8bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30e8f8f4027e2137c11c2fb49b4c2aa6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga30e8f8f4027e2137c11c2fb49b4c2aa6">INFO_MODE_GPIO</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga30e8f8f4027e2137c11c2fb49b4c2aa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode GPIO.  <a href="#ga30e8f8f4027e2137c11c2fb49b4c2aa6">More...</a><br /></td></tr>
<tr class="separator:ga30e8f8f4027e2137c11c2fb49b4c2aa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0fb0edb797b754a069e12931a001257"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac0fb0edb797b754a069e12931a001257">INFO_MODE_VOL_KEY_PERMIT</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gac0fb0edb797b754a069e12931a001257"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode GPIO.  <a href="#gac0fb0edb797b754a069e12931a001257">More...</a><br /></td></tr>
<tr class="separator:gac0fb0edb797b754a069e12931a001257"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga249c12b69d65f6c33568c78b9d9b127d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga249c12b69d65f6c33568c78b9d9b127d">INFO_MODE_MAX</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga249c12b69d65f6c33568c78b9d9b127d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode maximum value.  <a href="#ga249c12b69d65f6c33568c78b9d9b127d">More...</a><br /></td></tr>
<tr class="separator:ga249c12b69d65f6c33568c78b9d9b127d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5b035b6f65f87b7fdf75f225a54ce35"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad5b035b6f65f87b7fdf75f225a54ce35">INFO_NO_STATE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gad5b035b6f65f87b7fdf75f225a54ce35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info mode is not the state mode.  <a href="#gad5b035b6f65f87b7fdf75f225a54ce35">More...</a><br /></td></tr>
<tr class="separator:gad5b035b6f65f87b7fdf75f225a54ce35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b70682af491ce76c45505cabafcf9c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2b70682af491ce76c45505cabafcf9c0">INFO_OUTPUT_STATE_MASK</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga2b70682af491ce76c45505cabafcf9c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info output state mask.  <a href="#ga2b70682af491ce76c45505cabafcf9c0">More...</a><br /></td></tr>
<tr class="separator:ga2b70682af491ce76c45505cabafcf9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cc740e22e15f08a8b90873a2b3b47e8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9cc740e22e15f08a8b90873a2b3b47e8">INFO_DRIVER_STATE_MASK</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga9cc740e22e15f08a8b90873a2b3b47e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info driver state mask.  <a href="#ga9cc740e22e15f08a8b90873a2b3b47e8">More...</a><br /></td></tr>
<tr class="separator:ga9cc740e22e15f08a8b90873a2b3b47e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5dcc70feddb0b97c6fa779c6c3c819e6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5dcc70feddb0b97c6fa779c6c3c819e6">INFO_PARAM2_SET_LATCH_STATE</a>&#160;&#160;&#160;((uint16_t)0x0002)</td></tr>
<tr class="memdesc:ga5dcc70feddb0b97c6fa779c6c3c819e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info param2 to set the persistent latch state.  <a href="#ga5dcc70feddb0b97c6fa779c6c3c819e6">More...</a><br /></td></tr>
<tr class="separator:ga5dcc70feddb0b97c6fa779c6c3c819e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae24f308513ed54fc7c41b39bc05760b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaae24f308513ed54fc7c41b39bc05760b">INFO_PARAM2_LATCH_SET</a>&#160;&#160;&#160;((uint16_t)0x0001)</td></tr>
<tr class="memdesc:gaae24f308513ed54fc7c41b39bc05760b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info param2 to set the persistent latch.  <a href="#gaae24f308513ed54fc7c41b39bc05760b">More...</a><br /></td></tr>
<tr class="separator:gaae24f308513ed54fc7c41b39bc05760b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga027d5e8ae4a55db4ae52a41f3214c861"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga027d5e8ae4a55db4ae52a41f3214c861">INFO_PARAM2_LATCH_CLEAR</a>&#160;&#160;&#160;((uint16_t)0x0000)</td></tr>
<tr class="memdesc:ga027d5e8ae4a55db4ae52a41f3214c861"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info param2 to clear the persistent latch.  <a href="#ga027d5e8ae4a55db4ae52a41f3214c861">More...</a><br /></td></tr>
<tr class="separator:ga027d5e8ae4a55db4ae52a41f3214c861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70457c61d44fbac0cb48727f53c39388"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga70457c61d44fbac0cb48727f53c39388">INFO_SIZE</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:ga70457c61d44fbac0cb48727f53c39388"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info return size.  <a href="#ga70457c61d44fbac0cb48727f53c39388">More...</a><br /></td></tr>
<tr class="separator:ga70457c61d44fbac0cb48727f53c39388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c667e3f6590ac12726cbf4ad2b0f4f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0c667e3f6590ac12726cbf4ad2b0f4f5">INFO_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga882f14cac02df8282ccad2a43afc8a23">ATCA_RSP_SIZE_VAL</a></td></tr>
<tr class="memdesc:ga0c667e3f6590ac12726cbf4ad2b0f4f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Info command response packet size.  <a href="#ga0c667e3f6590ac12726cbf4ad2b0f4f5">More...</a><br /></td></tr>
<tr class="separator:ga0c667e3f6590ac12726cbf4ad2b0f4f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the KDF Command</h2></td></tr>
<tr class="memitem:ga959e54d571acf81b608d5c6d535b0510"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga959e54d571acf81b608d5c6d535b0510">KDF_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga959e54d571acf81b608d5c6d535b0510"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF command index for mode.  <a href="#ga959e54d571acf81b608d5c6d535b0510">More...</a><br /></td></tr>
<tr class="separator:ga959e54d571acf81b608d5c6d535b0510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae814b4e63476d137bf226537cb2ff0fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae814b4e63476d137bf226537cb2ff0fc">KDF_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gae814b4e63476d137bf226537cb2ff0fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF command index for key id.  <a href="#gae814b4e63476d137bf226537cb2ff0fc">More...</a><br /></td></tr>
<tr class="separator:gae814b4e63476d137bf226537cb2ff0fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56306fca73ae0f43053787bafdac6a94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga56306fca73ae0f43053787bafdac6a94">KDF_DETAILS_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:ga56306fca73ae0f43053787bafdac6a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF command index for details.  <a href="#ga56306fca73ae0f43053787bafdac6a94">More...</a><br /></td></tr>
<tr class="separator:ga56306fca73ae0f43053787bafdac6a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e025044ab9693b267e79f80e0a69cb1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2e025044ab9693b267e79f80e0a69cb1">KDF_DETAILS_SIZE</a>&#160;&#160;&#160;4</td></tr>
<tr class="memdesc:ga2e025044ab9693b267e79f80e0a69cb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details (param3) size.  <a href="#ga2e025044ab9693b267e79f80e0a69cb1">More...</a><br /></td></tr>
<tr class="separator:ga2e025044ab9693b267e79f80e0a69cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a57365768506315a6e3a6276508762c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7a57365768506315a6e3a6276508762c">KDF_MESSAGE_IDX</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a> + <a class="el" href="a03531.html#ga2e025044ab9693b267e79f80e0a69cb1">KDF_DETAILS_SIZE</a>)</td></tr>
<tr class="separator:ga7a57365768506315a6e3a6276508762c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaddd73b0088cc98d40eaf8b3370f2fc8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaddd73b0088cc98d40eaf8b3370f2fc8e">KDF_MODE_SOURCE_MASK</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:gaddd73b0088cc98d40eaf8b3370f2fc8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode source key mask.  <a href="#gaddd73b0088cc98d40eaf8b3370f2fc8e">More...</a><br /></td></tr>
<tr class="separator:gaddd73b0088cc98d40eaf8b3370f2fc8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43cad9606d9b7c0e5875b1fa66108eb8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga43cad9606d9b7c0e5875b1fa66108eb8">KDF_MODE_SOURCE_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga43cad9606d9b7c0e5875b1fa66108eb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode source key in TempKey.  <a href="#ga43cad9606d9b7c0e5875b1fa66108eb8">More...</a><br /></td></tr>
<tr class="separator:ga43cad9606d9b7c0e5875b1fa66108eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3785654ccbe309a87213aedb001ca39d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3785654ccbe309a87213aedb001ca39d">KDF_MODE_SOURCE_TEMPKEY_UP</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga3785654ccbe309a87213aedb001ca39d"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode source key in upper TempKey.  <a href="#ga3785654ccbe309a87213aedb001ca39d">More...</a><br /></td></tr>
<tr class="separator:ga3785654ccbe309a87213aedb001ca39d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b69501fcc3e0cea0197fc0f6107916a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3b69501fcc3e0cea0197fc0f6107916a">KDF_MODE_SOURCE_SLOT</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga3b69501fcc3e0cea0197fc0f6107916a"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode source key in a slot.  <a href="#ga3b69501fcc3e0cea0197fc0f6107916a">More...</a><br /></td></tr>
<tr class="separator:ga3b69501fcc3e0cea0197fc0f6107916a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3f4cdb700e47737058c174a1f156707"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa3f4cdb700e47737058c174a1f156707">KDF_MODE_SOURCE_ALTKEYBUF</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:gaa3f4cdb700e47737058c174a1f156707"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode source key in alternate key buffer.  <a href="#gaa3f4cdb700e47737058c174a1f156707">More...</a><br /></td></tr>
<tr class="separator:gaa3f4cdb700e47737058c174a1f156707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97828be629e8f11561b58cb434c18b21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga97828be629e8f11561b58cb434c18b21">KDF_MODE_TARGET_MASK</a>&#160;&#160;&#160;((uint8_t)0x1C)</td></tr>
<tr class="memdesc:ga97828be629e8f11561b58cb434c18b21"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key mask.  <a href="#ga97828be629e8f11561b58cb434c18b21">More...</a><br /></td></tr>
<tr class="separator:ga97828be629e8f11561b58cb434c18b21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdbb7fc88ccf13d556dce6de3df9ce1b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabdbb7fc88ccf13d556dce6de3df9ce1b">KDF_MODE_TARGET_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gabdbb7fc88ccf13d556dce6de3df9ce1b"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key in TempKey.  <a href="#gabdbb7fc88ccf13d556dce6de3df9ce1b">More...</a><br /></td></tr>
<tr class="separator:gabdbb7fc88ccf13d556dce6de3df9ce1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7e0df789060db2a9e8339972eac2482"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad7e0df789060db2a9e8339972eac2482">KDF_MODE_TARGET_TEMPKEY_UP</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gad7e0df789060db2a9e8339972eac2482"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key in upper TempKey.  <a href="#gad7e0df789060db2a9e8339972eac2482">More...</a><br /></td></tr>
<tr class="separator:gad7e0df789060db2a9e8339972eac2482"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05c0e401be347897d9573ba58492e570"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga05c0e401be347897d9573ba58492e570">KDF_MODE_TARGET_SLOT</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="memdesc:ga05c0e401be347897d9573ba58492e570"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key in slot.  <a href="#ga05c0e401be347897d9573ba58492e570">More...</a><br /></td></tr>
<tr class="separator:ga05c0e401be347897d9573ba58492e570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafeaf2094813c3184f0f128c37e3297dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafeaf2094813c3184f0f128c37e3297dd">KDF_MODE_TARGET_ALTKEYBUF</a>&#160;&#160;&#160;((uint8_t)0x0C)</td></tr>
<tr class="memdesc:gafeaf2094813c3184f0f128c37e3297dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key in alternate key buffer.  <a href="#gafeaf2094813c3184f0f128c37e3297dd">More...</a><br /></td></tr>
<tr class="separator:gafeaf2094813c3184f0f128c37e3297dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa19443ca4e054e38a7599c37575678d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafa19443ca4e054e38a7599c37575678d">KDF_MODE_TARGET_OUTPUT</a>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="memdesc:gafa19443ca4e054e38a7599c37575678d"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key in output buffer.  <a href="#gafa19443ca4e054e38a7599c37575678d">More...</a><br /></td></tr>
<tr class="separator:gafa19443ca4e054e38a7599c37575678d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga28cccb87be4305fa9469c26b0ca341e8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga28cccb87be4305fa9469c26b0ca341e8">KDF_MODE_TARGET_OUTPUT_ENC</a>&#160;&#160;&#160;((uint8_t)0x14)</td></tr>
<tr class="memdesc:ga28cccb87be4305fa9469c26b0ca341e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode target key encrypted in output buffer.  <a href="#ga28cccb87be4305fa9469c26b0ca341e8">More...</a><br /></td></tr>
<tr class="separator:ga28cccb87be4305fa9469c26b0ca341e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90f529642e87edae132421b3777ec4b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga90f529642e87edae132421b3777ec4b1">KDF_MODE_ALG_MASK</a>&#160;&#160;&#160;((uint8_t)0x60)</td></tr>
<tr class="memdesc:ga90f529642e87edae132421b3777ec4b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode algorithm mask.  <a href="#ga90f529642e87edae132421b3777ec4b1">More...</a><br /></td></tr>
<tr class="separator:ga90f529642e87edae132421b3777ec4b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41ad765834ce2cf37241f79b80857f79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga41ad765834ce2cf37241f79b80857f79">KDF_MODE_ALG_PRF</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga41ad765834ce2cf37241f79b80857f79"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode PRF algorithm.  <a href="#ga41ad765834ce2cf37241f79b80857f79">More...</a><br /></td></tr>
<tr class="separator:ga41ad765834ce2cf37241f79b80857f79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee08925a21e8dbf05f8557617e3f610e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaee08925a21e8dbf05f8557617e3f610e">KDF_MODE_ALG_AES</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:gaee08925a21e8dbf05f8557617e3f610e"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode AES algorithm.  <a href="#gaee08925a21e8dbf05f8557617e3f610e">More...</a><br /></td></tr>
<tr class="separator:gaee08925a21e8dbf05f8557617e3f610e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga59b230043c3cd1fa0deafac6225238cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga59b230043c3cd1fa0deafac6225238cb">KDF_MODE_ALG_HKDF</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga59b230043c3cd1fa0deafac6225238cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF mode HKDF algorithm.  <a href="#ga59b230043c3cd1fa0deafac6225238cb">More...</a><br /></td></tr>
<tr class="separator:ga59b230043c3cd1fa0deafac6225238cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf42b60e97bdf4bf0338b8a5ce420fdc5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf42b60e97bdf4bf0338b8a5ce420fdc5">KDF_DETAILS_PRF_KEY_LEN_MASK</a>&#160;&#160;&#160;((uint32_t)0x00000003)</td></tr>
<tr class="memdesc:gaf42b60e97bdf4bf0338b8a5ce420fdc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, source key length mask.  <a href="#gaf42b60e97bdf4bf0338b8a5ce420fdc5">More...</a><br /></td></tr>
<tr class="separator:gaf42b60e97bdf4bf0338b8a5ce420fdc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf83ceba3654b1b76e216402a023c1578"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf83ceba3654b1b76e216402a023c1578">KDF_DETAILS_PRF_KEY_LEN_16</a>&#160;&#160;&#160;((uint32_t)0x00000000)</td></tr>
<tr class="memdesc:gaf83ceba3654b1b76e216402a023c1578"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, source key length is 16 bytes.  <a href="#gaf83ceba3654b1b76e216402a023c1578">More...</a><br /></td></tr>
<tr class="separator:gaf83ceba3654b1b76e216402a023c1578"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadcf0e639c6da291ddcb7fed49f1f967"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaadcf0e639c6da291ddcb7fed49f1f967">KDF_DETAILS_PRF_KEY_LEN_32</a>&#160;&#160;&#160;((uint32_t)0x00000001)</td></tr>
<tr class="memdesc:gaadcf0e639c6da291ddcb7fed49f1f967"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, source key length is 32 bytes.  <a href="#gaadcf0e639c6da291ddcb7fed49f1f967">More...</a><br /></td></tr>
<tr class="separator:gaadcf0e639c6da291ddcb7fed49f1f967"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae92bdb9d72ad6bd2193cbf0e672d46e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaae92bdb9d72ad6bd2193cbf0e672d46e">KDF_DETAILS_PRF_KEY_LEN_48</a>&#160;&#160;&#160;((uint32_t)0x00000002)</td></tr>
<tr class="memdesc:gaae92bdb9d72ad6bd2193cbf0e672d46e"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, source key length is 48 bytes.  <a href="#gaae92bdb9d72ad6bd2193cbf0e672d46e">More...</a><br /></td></tr>
<tr class="separator:gaae92bdb9d72ad6bd2193cbf0e672d46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1519bbd506095c4db25aad15bbc0735b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1519bbd506095c4db25aad15bbc0735b">KDF_DETAILS_PRF_KEY_LEN_64</a>&#160;&#160;&#160;((uint32_t)0x00000003)</td></tr>
<tr class="memdesc:ga1519bbd506095c4db25aad15bbc0735b"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, source key length is 64 bytes.  <a href="#ga1519bbd506095c4db25aad15bbc0735b">More...</a><br /></td></tr>
<tr class="separator:ga1519bbd506095c4db25aad15bbc0735b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga32c642907f4f326893fb6fccfce18707"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga32c642907f4f326893fb6fccfce18707">KDF_DETAILS_PRF_TARGET_LEN_MASK</a>&#160;&#160;&#160;((uint32_t)0x00000100)</td></tr>
<tr class="memdesc:ga32c642907f4f326893fb6fccfce18707"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, target length mask.  <a href="#ga32c642907f4f326893fb6fccfce18707">More...</a><br /></td></tr>
<tr class="separator:ga32c642907f4f326893fb6fccfce18707"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac049629a826435702055cc8279db76bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac049629a826435702055cc8279db76bb">KDF_DETAILS_PRF_TARGET_LEN_32</a>&#160;&#160;&#160;((uint32_t)0x00000000)</td></tr>
<tr class="memdesc:gac049629a826435702055cc8279db76bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, target length is 32 bytes.  <a href="#gac049629a826435702055cc8279db76bb">More...</a><br /></td></tr>
<tr class="separator:gac049629a826435702055cc8279db76bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0b47a5e9928b7f3c91db64a9b80fde8b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0b47a5e9928b7f3c91db64a9b80fde8b">KDF_DETAILS_PRF_TARGET_LEN_64</a>&#160;&#160;&#160;((uint32_t)0x00000100)</td></tr>
<tr class="memdesc:ga0b47a5e9928b7f3c91db64a9b80fde8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, target length is 64 bytes.  <a href="#ga0b47a5e9928b7f3c91db64a9b80fde8b">More...</a><br /></td></tr>
<tr class="separator:ga0b47a5e9928b7f3c91db64a9b80fde8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71bd7b920718c3bbf99d78eda569018c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga71bd7b920718c3bbf99d78eda569018c">KDF_DETAILS_PRF_AEAD_MASK</a>&#160;&#160;&#160;((uint32_t)0x00000600)</td></tr>
<tr class="memdesc:ga71bd7b920718c3bbf99d78eda569018c"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, AEAD processing mask.  <a href="#ga71bd7b920718c3bbf99d78eda569018c">More...</a><br /></td></tr>
<tr class="separator:ga71bd7b920718c3bbf99d78eda569018c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77402cc8f4efbba6119bd57717c34ce4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga77402cc8f4efbba6119bd57717c34ce4">KDF_DETAILS_PRF_AEAD_MODE0</a>&#160;&#160;&#160;((uint32_t)0x00000000)</td></tr>
<tr class="memdesc:ga77402cc8f4efbba6119bd57717c34ce4"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, AEAD no processing.  <a href="#ga77402cc8f4efbba6119bd57717c34ce4">More...</a><br /></td></tr>
<tr class="separator:ga77402cc8f4efbba6119bd57717c34ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga696c55d8590e9d1ac2571d6921f27573"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga696c55d8590e9d1ac2571d6921f27573">KDF_DETAILS_PRF_AEAD_MODE1</a>&#160;&#160;&#160;((uint32_t)0x00000200)</td></tr>
<tr class="memdesc:ga696c55d8590e9d1ac2571d6921f27573"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for PRF, AEAD First 32 go to target, second 32 go to output buffer.  <a href="#ga696c55d8590e9d1ac2571d6921f27573">More...</a><br /></td></tr>
<tr class="separator:ga696c55d8590e9d1ac2571d6921f27573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77a516ab645b681ad7861d8b74e4a115"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga77a516ab645b681ad7861d8b74e4a115">KDF_DETAILS_AES_KEY_LOC_MASK</a>&#160;&#160;&#160;((uint32_t)0x00000003)</td></tr>
<tr class="memdesc:ga77a516ab645b681ad7861d8b74e4a115"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for AES, key location mask.  <a href="#ga77a516ab645b681ad7861d8b74e4a115">More...</a><br /></td></tr>
<tr class="separator:ga77a516ab645b681ad7861d8b74e4a115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5b4cb5be95861466fff33fe0d5a9020"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa5b4cb5be95861466fff33fe0d5a9020">KDF_DETAILS_HKDF_MSG_LOC_MASK</a>&#160;&#160;&#160;((uint32_t)0x00000003)</td></tr>
<tr class="memdesc:gaa5b4cb5be95861466fff33fe0d5a9020"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, message location mask.  <a href="#gaa5b4cb5be95861466fff33fe0d5a9020">More...</a><br /></td></tr>
<tr class="separator:gaa5b4cb5be95861466fff33fe0d5a9020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8d5f52e7dbb1ea5308517365bbec87b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8d5f52e7dbb1ea5308517365bbec87b5">KDF_DETAILS_HKDF_MSG_LOC_SLOT</a>&#160;&#160;&#160;((uint32_t)0x00000000)</td></tr>
<tr class="memdesc:ga8d5f52e7dbb1ea5308517365bbec87b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, message location in slot.  <a href="#ga8d5f52e7dbb1ea5308517365bbec87b5">More...</a><br /></td></tr>
<tr class="separator:ga8d5f52e7dbb1ea5308517365bbec87b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabae30386c46658676cf11de7bec27138"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabae30386c46658676cf11de7bec27138">KDF_DETAILS_HKDF_MSG_LOC_TEMPKEY</a>&#160;&#160;&#160;((uint32_t)0x00000001)</td></tr>
<tr class="memdesc:gabae30386c46658676cf11de7bec27138"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, message location in TempKey.  <a href="#gabae30386c46658676cf11de7bec27138">More...</a><br /></td></tr>
<tr class="separator:gabae30386c46658676cf11de7bec27138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2b34b443ce2e0f285dd8d6f34f84d70"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae2b34b443ce2e0f285dd8d6f34f84d70">KDF_DETAILS_HKDF_MSG_LOC_INPUT</a>&#160;&#160;&#160;((uint32_t)0x00000002)</td></tr>
<tr class="memdesc:gae2b34b443ce2e0f285dd8d6f34f84d70"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, message location in input parameter.  <a href="#gae2b34b443ce2e0f285dd8d6f34f84d70">More...</a><br /></td></tr>
<tr class="separator:gae2b34b443ce2e0f285dd8d6f34f84d70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53650471a7eef96ce0ef00cb6b8a6a9b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga53650471a7eef96ce0ef00cb6b8a6a9b">KDF_DETAILS_HKDF_MSG_LOC_IV</a>&#160;&#160;&#160;((uint32_t)0x00000003)</td></tr>
<tr class="memdesc:ga53650471a7eef96ce0ef00cb6b8a6a9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, message location is a special IV function.  <a href="#ga53650471a7eef96ce0ef00cb6b8a6a9b">More...</a><br /></td></tr>
<tr class="separator:ga53650471a7eef96ce0ef00cb6b8a6a9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae16e61d55b371f9c5e31f08f680de609"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae16e61d55b371f9c5e31f08f680de609">KDF_DETAILS_HKDF_ZERO_KEY</a>&#160;&#160;&#160;((uint32_t)0x00000004)</td></tr>
<tr class="memdesc:gae16e61d55b371f9c5e31f08f680de609"><td class="mdescLeft">&#160;</td><td class="mdescRight">KDF details for HKDF, key is 32 bytes of zero.  <a href="#gae16e61d55b371f9c5e31f08f680de609">More...</a><br /></td></tr>
<tr class="separator:gae16e61d55b371f9c5e31f08f680de609"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Lock Command</h2></td></tr>
<tr class="memitem:gaa72601de2238c09393f120f68abf66a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa72601de2238c09393f120f68abf66a4">LOCK_ZONE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gaa72601de2238c09393f120f68abf66a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command index for zone.  <a href="#gaa72601de2238c09393f120f68abf66a4">More...</a><br /></td></tr>
<tr class="separator:gaa72601de2238c09393f120f68abf66a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bd6b85614792b8dabb6432f7a48151e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6bd6b85614792b8dabb6432f7a48151e">LOCK_SUMMARY_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga6bd6b85614792b8dabb6432f7a48151e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command index for summary.  <a href="#ga6bd6b85614792b8dabb6432f7a48151e">More...</a><br /></td></tr>
<tr class="separator:ga6bd6b85614792b8dabb6432f7a48151e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a5cce3cbccf46b91c8065559ad1a082"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8a5cce3cbccf46b91c8065559ad1a082">LOCK_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga8a5cce3cbccf46b91c8065559ad1a082"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command packet size.  <a href="#ga8a5cce3cbccf46b91c8065559ad1a082">More...</a><br /></td></tr>
<tr class="separator:ga8a5cce3cbccf46b91c8065559ad1a082"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabbc0da0b4fd66c3aa75ae0cc3a62e39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaabbc0da0b4fd66c3aa75ae0cc3a62e39">LOCK_ZONE_CONFIG</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gaabbc0da0b4fd66c3aa75ae0cc3a62e39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock zone is Config.  <a href="#gaabbc0da0b4fd66c3aa75ae0cc3a62e39">More...</a><br /></td></tr>
<tr class="separator:gaabbc0da0b4fd66c3aa75ae0cc3a62e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1dedbfae86a6c38085070160696e00bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1dedbfae86a6c38085070160696e00bb">LOCK_ZONE_DATA</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga1dedbfae86a6c38085070160696e00bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock zone is OTP or Data.  <a href="#ga1dedbfae86a6c38085070160696e00bb">More...</a><br /></td></tr>
<tr class="separator:ga1dedbfae86a6c38085070160696e00bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5a93b147dd08b111b348edd1bc82fa5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf5a93b147dd08b111b348edd1bc82fa5">LOCK_ZONE_DATA_SLOT</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:gaf5a93b147dd08b111b348edd1bc82fa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock slot of Data.  <a href="#gaf5a93b147dd08b111b348edd1bc82fa5">More...</a><br /></td></tr>
<tr class="separator:gaf5a93b147dd08b111b348edd1bc82fa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29b582e5069538ee92f5bcd6d1356255"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga29b582e5069538ee92f5bcd6d1356255">LOCK_ZONE_NO_CRC</a>&#160;&#160;&#160;((uint8_t)0x80)</td></tr>
<tr class="memdesc:ga29b582e5069538ee92f5bcd6d1356255"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command: Ignore summary.  <a href="#ga29b582e5069538ee92f5bcd6d1356255">More...</a><br /></td></tr>
<tr class="separator:ga29b582e5069538ee92f5bcd6d1356255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71b3c35d021e0ac507fdd6cd9538467f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga71b3c35d021e0ac507fdd6cd9538467f">LOCK_ZONE_MASK</a>&#160;&#160;&#160;(0xBF)</td></tr>
<tr class="memdesc:ga71b3c35d021e0ac507fdd6cd9538467f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock parameter 1 bits 6 are 0.  <a href="#ga71b3c35d021e0ac507fdd6cd9538467f">More...</a><br /></td></tr>
<tr class="separator:ga71b3c35d021e0ac507fdd6cd9538467f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54155caf79f004ccf0a875cf3a0ef05b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga54155caf79f004ccf0a875cf3a0ef05b">ATCA_UNLOCKED</a>&#160;&#160;&#160;(0x55)</td></tr>
<tr class="memdesc:ga54155caf79f004ccf0a875cf3a0ef05b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value indicating an unlocked zone.  <a href="#ga54155caf79f004ccf0a875cf3a0ef05b">More...</a><br /></td></tr>
<tr class="separator:ga54155caf79f004ccf0a875cf3a0ef05b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf397e129e4581162f91873358b5f1538"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf397e129e4581162f91873358b5f1538">ATCA_LOCKED</a>&#160;&#160;&#160;(0x00)</td></tr>
<tr class="memdesc:gaf397e129e4581162f91873358b5f1538"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value indicating a locked zone.  <a href="#gaf397e129e4581162f91873358b5f1538">More...</a><br /></td></tr>
<tr class="separator:gaf397e129e4581162f91873358b5f1538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga773dce573d9ff453d2f49aa7fc48e210"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga773dce573d9ff453d2f49aa7fc48e210">LOCK_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga773dce573d9ff453d2f49aa7fc48e210"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock command response packet size.  <a href="#ga773dce573d9ff453d2f49aa7fc48e210">More...</a><br /></td></tr>
<tr class="separator:ga773dce573d9ff453d2f49aa7fc48e210"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the MAC Command</h2></td></tr>
<tr class="memitem:ga4b1f89e4c4a24c058fddb3d936e76017"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4b1f89e4c4a24c058fddb3d936e76017">MAC_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga4b1f89e4c4a24c058fddb3d936e76017"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command index for mode.  <a href="#ga4b1f89e4c4a24c058fddb3d936e76017">More...</a><br /></td></tr>
<tr class="separator:ga4b1f89e4c4a24c058fddb3d936e76017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb6b7f50e3d8af5d2de64f3bd4c83332"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadb6b7f50e3d8af5d2de64f3bd4c83332">MAC_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gadb6b7f50e3d8af5d2de64f3bd4c83332"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command index for key id.  <a href="#gadb6b7f50e3d8af5d2de64f3bd4c83332">More...</a><br /></td></tr>
<tr class="separator:gadb6b7f50e3d8af5d2de64f3bd4c83332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga427e37c74bad23b251deb2274de6d703"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga427e37c74bad23b251deb2274de6d703">MAC_CHALLENGE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:ga427e37c74bad23b251deb2274de6d703"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command index for optional challenge.  <a href="#ga427e37c74bad23b251deb2274de6d703">More...</a><br /></td></tr>
<tr class="separator:ga427e37c74bad23b251deb2274de6d703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94d9bf52f1a6c7af3943eb92dd3967ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga94d9bf52f1a6c7af3943eb92dd3967ef">MAC_COUNT_SHORT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga94d9bf52f1a6c7af3943eb92dd3967ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command packet size without challenge.  <a href="#ga94d9bf52f1a6c7af3943eb92dd3967ef">More...</a><br /></td></tr>
<tr class="separator:ga94d9bf52f1a6c7af3943eb92dd3967ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa466dfdf174c134a11f578d1731990ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa466dfdf174c134a11f578d1731990ef">MAC_COUNT_LONG</a>&#160;&#160;&#160;(39)</td></tr>
<tr class="memdesc:gaa466dfdf174c134a11f578d1731990ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command packet size with challenge.  <a href="#gaa466dfdf174c134a11f578d1731990ef">More...</a><br /></td></tr>
<tr class="separator:gaa466dfdf174c134a11f578d1731990ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga876298788a9270561dc279b7d4c92cb8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga876298788a9270561dc279b7d4c92cb8">MAC_MODE_CHALLENGE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga876298788a9270561dc279b7d4c92cb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode 0: first SHA block from data slot.  <a href="#ga876298788a9270561dc279b7d4c92cb8">More...</a><br /></td></tr>
<tr class="separator:ga876298788a9270561dc279b7d4c92cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf599e8acc392c2ef07eba93eafc474d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaaf599e8acc392c2ef07eba93eafc474d">MAC_MODE_BLOCK2_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:gaaf599e8acc392c2ef07eba93eafc474d"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 0: second SHA block from TempKey.  <a href="#gaaf599e8acc392c2ef07eba93eafc474d">More...</a><br /></td></tr>
<tr class="separator:gaaf599e8acc392c2ef07eba93eafc474d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ed0d355896761d1cfef4d3b225fefae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1ed0d355896761d1cfef4d3b225fefae">MAC_MODE_BLOCK1_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga1ed0d355896761d1cfef4d3b225fefae"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 1: first SHA block from TempKey.  <a href="#ga1ed0d355896761d1cfef4d3b225fefae">More...</a><br /></td></tr>
<tr class="separator:ga1ed0d355896761d1cfef4d3b225fefae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadffd78899cf3d3dd18afc5ce3c54acb4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gadffd78899cf3d3dd18afc5ce3c54acb4">MAC_MODE_SOURCE_FLAG_MATCH</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gadffd78899cf3d3dd18afc5ce3c54acb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 2: match TempKey.SourceFlag.  <a href="#gadffd78899cf3d3dd18afc5ce3c54acb4">More...</a><br /></td></tr>
<tr class="separator:gadffd78899cf3d3dd18afc5ce3c54acb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe14a4d41dbd21bb5cfdd9c17f22d2d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafe14a4d41dbd21bb5cfdd9c17f22d2d2">MAC_MODE_PTNONCE_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="memdesc:gafe14a4d41dbd21bb5cfdd9c17f22d2d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 0: second SHA block from TempKey.  <a href="#gafe14a4d41dbd21bb5cfdd9c17f22d2d2">More...</a><br /></td></tr>
<tr class="separator:gafe14a4d41dbd21bb5cfdd9c17f22d2d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga41beaf29ad684f5fae6046c689d6bcf1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga41beaf29ad684f5fae6046c689d6bcf1">MAC_MODE_PASSTHROUGH</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:ga41beaf29ad684f5fae6046c689d6bcf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 0-2: pass-through mode.  <a href="#ga41beaf29ad684f5fae6046c689d6bcf1">More...</a><br /></td></tr>
<tr class="separator:ga41beaf29ad684f5fae6046c689d6bcf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5da70c1f37ee40a0cf4edc459d5840a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae5da70c1f37ee40a0cf4edc459d5840a">MAC_MODE_INCLUDE_OTP_88</a>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="memdesc:gae5da70c1f37ee40a0cf4edc459d5840a"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 4: include first 88 OTP bits.  <a href="#gae5da70c1f37ee40a0cf4edc459d5840a">More...</a><br /></td></tr>
<tr class="separator:gae5da70c1f37ee40a0cf4edc459d5840a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bd9324a824410d7787c6fcd6e29d8a2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0bd9324a824410d7787c6fcd6e29d8a2">MAC_MODE_INCLUDE_OTP_64</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:ga0bd9324a824410d7787c6fcd6e29d8a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 5: include first 64 OTP bits.  <a href="#ga0bd9324a824410d7787c6fcd6e29d8a2">More...</a><br /></td></tr>
<tr class="separator:ga0bd9324a824410d7787c6fcd6e29d8a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2afa3244b7efc9ffd9a93dd6e5b71b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae2afa3244b7efc9ffd9a93dd6e5b71b5">MAC_MODE_INCLUDE_SN</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:gae2afa3244b7efc9ffd9a93dd6e5b71b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bit 6: include serial number.  <a href="#gae2afa3244b7efc9ffd9a93dd6e5b71b5">More...</a><br /></td></tr>
<tr class="separator:gae2afa3244b7efc9ffd9a93dd6e5b71b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga921afead5f0a35822bc8263c3a1e1761"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga921afead5f0a35822bc8263c3a1e1761">MAC_CHALLENGE_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga921afead5f0a35822bc8263c3a1e1761"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC size of challenge.  <a href="#ga921afead5f0a35822bc8263c3a1e1761">More...</a><br /></td></tr>
<tr class="separator:ga921afead5f0a35822bc8263c3a1e1761"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4c987156ced719bbcf398ab6c76289c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4c987156ced719bbcf398ab6c76289c0">MAC_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga4c987156ced719bbcf398ab6c76289c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC size of response.  <a href="#ga4c987156ced719bbcf398ab6c76289c0">More...</a><br /></td></tr>
<tr class="separator:ga4c987156ced719bbcf398ab6c76289c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e6b931cf58debb1a23b87c16c7b4d47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6e6b931cf58debb1a23b87c16c7b4d47">MAC_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x77)</td></tr>
<tr class="memdesc:ga6e6b931cf58debb1a23b87c16c7b4d47"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC mode bits 3 and 7 are 0.  <a href="#ga6e6b931cf58debb1a23b87c16c7b4d47">More...</a><br /></td></tr>
<tr class="separator:ga6e6b931cf58debb1a23b87c16c7b4d47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e34a5e5e8b86355569f958ecbaff3d4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1e34a5e5e8b86355569f958ecbaff3d4">MAC_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:ga1e34a5e5e8b86355569f958ecbaff3d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">MAC command response packet size.  <a href="#ga1e34a5e5e8b86355569f958ecbaff3d4">More...</a><br /></td></tr>
<tr class="separator:ga1e34a5e5e8b86355569f958ecbaff3d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Nonce Command</h2></td></tr>
<tr class="memitem:ga97ca81334088c297c577f4b4aaced3cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga97ca81334088c297c577f4b4aaced3cf">NONCE_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga97ca81334088c297c577f4b4aaced3cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command index for mode.  <a href="#ga97ca81334088c297c577f4b4aaced3cf">More...</a><br /></td></tr>
<tr class="separator:ga97ca81334088c297c577f4b4aaced3cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabd0af10b17e4e1c4bf7a4cfd3cca1f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaabd0af10b17e4e1c4bf7a4cfd3cca1f0">NONCE_PARAM2_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gaabd0af10b17e4e1c4bf7a4cfd3cca1f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command index for 2. parameter.  <a href="#gaabd0af10b17e4e1c4bf7a4cfd3cca1f0">More...</a><br /></td></tr>
<tr class="separator:gaabd0af10b17e4e1c4bf7a4cfd3cca1f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98721952094435f45bffa352dd6848ad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga98721952094435f45bffa352dd6848ad">NONCE_INPUT_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td></tr>
<tr class="memdesc:ga98721952094435f45bffa352dd6848ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command index for input data.  <a href="#ga98721952094435f45bffa352dd6848ad">More...</a><br /></td></tr>
<tr class="separator:ga98721952094435f45bffa352dd6848ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacff2b897c994e1444f8e94e638c25c74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gacff2b897c994e1444f8e94e638c25c74">NONCE_COUNT_SHORT</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 20)</td></tr>
<tr class="memdesc:gacff2b897c994e1444f8e94e638c25c74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command packet size for 20 bytes of NumIn.  <a href="#gacff2b897c994e1444f8e94e638c25c74">More...</a><br /></td></tr>
<tr class="separator:gacff2b897c994e1444f8e94e638c25c74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a7fddf245cba834f86e0b63f2b14dc1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9a7fddf245cba834f86e0b63f2b14dc1">NONCE_COUNT_LONG</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 32)</td></tr>
<tr class="memdesc:ga9a7fddf245cba834f86e0b63f2b14dc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command packet size for 32 bytes of NumIn.  <a href="#ga9a7fddf245cba834f86e0b63f2b14dc1">More...</a><br /></td></tr>
<tr class="separator:ga9a7fddf245cba834f86e0b63f2b14dc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaffdf30ca558bdd5f772578742835306"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaaffdf30ca558bdd5f772578742835306">NONCE_COUNT_LONG_64</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 64)</td></tr>
<tr class="memdesc:gaaffdf30ca558bdd5f772578742835306"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command packet size for 64 bytes of NumIn.  <a href="#gaaffdf30ca558bdd5f772578742835306">More...</a><br /></td></tr>
<tr class="separator:gaaffdf30ca558bdd5f772578742835306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98be7c54d55328daa4390a816c9bb243"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga98be7c54d55328daa4390a816c9bb243">NONCE_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga98be7c54d55328daa4390a816c9bb243"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode bits 2 to 7 are 0.  <a href="#ga98be7c54d55328daa4390a816c9bb243">More...</a><br /></td></tr>
<tr class="separator:ga98be7c54d55328daa4390a816c9bb243"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga798018a4ef489e8fb0a02b5edf7e9d55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga798018a4ef489e8fb0a02b5edf7e9d55">NONCE_MODE_SEED_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga798018a4ef489e8fb0a02b5edf7e9d55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: update seed.  <a href="#ga798018a4ef489e8fb0a02b5edf7e9d55">More...</a><br /></td></tr>
<tr class="separator:ga798018a4ef489e8fb0a02b5edf7e9d55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3f2d180d7f35d9a7876a28972f2f587"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae3f2d180d7f35d9a7876a28972f2f587">NONCE_MODE_NO_SEED_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:gae3f2d180d7f35d9a7876a28972f2f587"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: do not update seed.  <a href="#gae3f2d180d7f35d9a7876a28972f2f587">More...</a><br /></td></tr>
<tr class="separator:gae3f2d180d7f35d9a7876a28972f2f587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c675071c7fd650a29594c5fcc9882a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7c675071c7fd650a29594c5fcc9882a1">NONCE_MODE_INVALID</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga7c675071c7fd650a29594c5fcc9882a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode 2 is invalid.  <a href="#ga7c675071c7fd650a29594c5fcc9882a1">More...</a><br /></td></tr>
<tr class="separator:ga7c675071c7fd650a29594c5fcc9882a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6132b175668ba4d6efecca5986c007c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga6132b175668ba4d6efecca5986c007c0">NONCE_MODE_PASSTHROUGH</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga6132b175668ba4d6efecca5986c007c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: pass-through.  <a href="#ga6132b175668ba4d6efecca5986c007c0">More...</a><br /></td></tr>
<tr class="separator:ga6132b175668ba4d6efecca5986c007c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad83ef570608a572d2dd99e6954e14d40"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad83ef570608a572d2dd99e6954e14d40">NONCE_MODE_INPUT_LEN_MASK</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:gad83ef570608a572d2dd99e6954e14d40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: input size mask.  <a href="#gad83ef570608a572d2dd99e6954e14d40">More...</a><br /></td></tr>
<tr class="separator:gad83ef570608a572d2dd99e6954e14d40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7ee0188ab539a350a6da19fe3f34a72"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf7ee0188ab539a350a6da19fe3f34a72">NONCE_MODE_INPUT_LEN_32</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gaf7ee0188ab539a350a6da19fe3f34a72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: input size is 32 bytes.  <a href="#gaf7ee0188ab539a350a6da19fe3f34a72">More...</a><br /></td></tr>
<tr class="separator:gaf7ee0188ab539a350a6da19fe3f34a72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54f085984c6aaf826263a755fd3243d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga54f085984c6aaf826263a755fd3243d7">NONCE_MODE_INPUT_LEN_64</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:ga54f085984c6aaf826263a755fd3243d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: input size is 64 bytes.  <a href="#ga54f085984c6aaf826263a755fd3243d7">More...</a><br /></td></tr>
<tr class="separator:ga54f085984c6aaf826263a755fd3243d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab887d70e4a421cf2bcab6b77feba4134"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab887d70e4a421cf2bcab6b77feba4134">NONCE_MODE_TARGET_MASK</a>&#160;&#160;&#160;((uint8_t)0xC0)</td></tr>
<tr class="memdesc:gab887d70e4a421cf2bcab6b77feba4134"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: target mask.  <a href="#gab887d70e4a421cf2bcab6b77feba4134">More...</a><br /></td></tr>
<tr class="separator:gab887d70e4a421cf2bcab6b77feba4134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac51f4a863e071bce52c995ddae7e2144"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac51f4a863e071bce52c995ddae7e2144">NONCE_MODE_TARGET_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gac51f4a863e071bce52c995ddae7e2144"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: target is TempKey.  <a href="#gac51f4a863e071bce52c995ddae7e2144">More...</a><br /></td></tr>
<tr class="separator:gac51f4a863e071bce52c995ddae7e2144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga071a95b4b2048e0d879e6e13984e38fd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga071a95b4b2048e0d879e6e13984e38fd">NONCE_MODE_TARGET_MSGDIGBUF</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga071a95b4b2048e0d879e6e13984e38fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: target is Message Digest Buffer.  <a href="#ga071a95b4b2048e0d879e6e13984e38fd">More...</a><br /></td></tr>
<tr class="separator:ga071a95b4b2048e0d879e6e13984e38fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ad263b7b321311a57db7600f18a555f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8ad263b7b321311a57db7600f18a555f">NONCE_MODE_TARGET_ALTKEYBUF</a>&#160;&#160;&#160;((uint8_t)0x80)</td></tr>
<tr class="memdesc:ga8ad263b7b321311a57db7600f18a555f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce mode: target is Alternate Key Buffer.  <a href="#ga8ad263b7b321311a57db7600f18a555f">More...</a><br /></td></tr>
<tr class="separator:ga8ad263b7b321311a57db7600f18a555f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga99bca33105a872e8a20fe199cc17219b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga99bca33105a872e8a20fe199cc17219b">NONCE_ZERO_CALC_MASK</a>&#160;&#160;&#160;((uint16_t)0x8000)</td></tr>
<tr class="memdesc:ga99bca33105a872e8a20fe199cc17219b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce zero (param2): calculation mode mask.  <a href="#ga99bca33105a872e8a20fe199cc17219b">More...</a><br /></td></tr>
<tr class="separator:ga99bca33105a872e8a20fe199cc17219b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80b8b54f333be5a587f22e2d04812de6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga80b8b54f333be5a587f22e2d04812de6">NONCE_ZERO_CALC_RANDOM</a>&#160;&#160;&#160;((uint16_t)0x0000)</td></tr>
<tr class="memdesc:ga80b8b54f333be5a587f22e2d04812de6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce zero (param2): calculation mode random, use RNG in calculation and return RNG output.  <a href="#ga80b8b54f333be5a587f22e2d04812de6">More...</a><br /></td></tr>
<tr class="separator:ga80b8b54f333be5a587f22e2d04812de6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a2b74db24609199702267614fc31990"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2a2b74db24609199702267614fc31990">NONCE_ZERO_CALC_TEMPKEY</a>&#160;&#160;&#160;((uint16_t)0x8000)</td></tr>
<tr class="memdesc:ga2a2b74db24609199702267614fc31990"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce zero (param2): calculation mode TempKey, use TempKey in calculation and return new TempKey value.  <a href="#ga2a2b74db24609199702267614fc31990">More...</a><br /></td></tr>
<tr class="separator:ga2a2b74db24609199702267614fc31990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0c3da8203a3be6755e86cda96e00228"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad0c3da8203a3be6755e86cda96e00228">NONCE_NUMIN_SIZE</a>&#160;&#160;&#160;(20)</td></tr>
<tr class="memdesc:gad0c3da8203a3be6755e86cda96e00228"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce NumIn size for random modes.  <a href="#gad0c3da8203a3be6755e86cda96e00228">More...</a><br /></td></tr>
<tr class="separator:gad0c3da8203a3be6755e86cda96e00228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab568e0ec9f976d91d7940c227e8d73ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab568e0ec9f976d91d7940c227e8d73ee">NONCE_NUMIN_SIZE_PASSTHROUGH</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gab568e0ec9f976d91d7940c227e8d73ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce NumIn size for 32-byte pass-through mode.  <a href="#gab568e0ec9f976d91d7940c227e8d73ee">More...</a><br /></td></tr>
<tr class="separator:gab568e0ec9f976d91d7940c227e8d73ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ecf97f43e4b2fbe3f329bb7c8e3b675"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2ecf97f43e4b2fbe3f329bb7c8e3b675">NONCE_RSP_SIZE_SHORT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga2ecf97f43e4b2fbe3f329bb7c8e3b675"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command response packet size with no output.  <a href="#ga2ecf97f43e4b2fbe3f329bb7c8e3b675">More...</a><br /></td></tr>
<tr class="separator:ga2ecf97f43e4b2fbe3f329bb7c8e3b675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ae9dcc07ca9d990e9db6d8949ac935a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7ae9dcc07ca9d990e9db6d8949ac935a">NONCE_RSP_SIZE_LONG</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:ga7ae9dcc07ca9d990e9db6d8949ac935a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Nonce command response packet size with output.  <a href="#ga7ae9dcc07ca9d990e9db6d8949ac935a">More...</a><br /></td></tr>
<tr class="separator:ga7ae9dcc07ca9d990e9db6d8949ac935a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Pause Command</h2></td></tr>
<tr class="memitem:ga49f538b630cc416a8ad1f6d784e3a1e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga49f538b630cc416a8ad1f6d784e3a1e4">PAUSE_SELECT_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga49f538b630cc416a8ad1f6d784e3a1e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause command index for Selector.  <a href="#ga49f538b630cc416a8ad1f6d784e3a1e4">More...</a><br /></td></tr>
<tr class="separator:ga49f538b630cc416a8ad1f6d784e3a1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad74ed86697c0977d4e0a2451068b7131"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad74ed86697c0977d4e0a2451068b7131">PAUSE_PARAM2_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gad74ed86697c0977d4e0a2451068b7131"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause command index for 2. parameter.  <a href="#gad74ed86697c0977d4e0a2451068b7131">More...</a><br /></td></tr>
<tr class="separator:gad74ed86697c0977d4e0a2451068b7131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa914251d0e03f7d1850ee04296715f14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa914251d0e03f7d1850ee04296715f14">PAUSE_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gaa914251d0e03f7d1850ee04296715f14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause command packet size.  <a href="#gaa914251d0e03f7d1850ee04296715f14">More...</a><br /></td></tr>
<tr class="separator:gaa914251d0e03f7d1850ee04296715f14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5859f9a2eb99b4636c894705047e9344"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga5859f9a2eb99b4636c894705047e9344">PAUSE_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga5859f9a2eb99b4636c894705047e9344"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause command response packet size.  <a href="#ga5859f9a2eb99b4636c894705047e9344">More...</a><br /></td></tr>
<tr class="separator:ga5859f9a2eb99b4636c894705047e9344"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the PrivWrite Command</h2></td></tr>
<tr class="memitem:ga376a70cf087e157cbb914d9ca2e5b989"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga376a70cf087e157cbb914d9ca2e5b989">PRIVWRITE_ZONE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga376a70cf087e157cbb914d9ca2e5b989"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command index for zone.  <a href="#ga376a70cf087e157cbb914d9ca2e5b989">More...</a><br /></td></tr>
<tr class="separator:ga376a70cf087e157cbb914d9ca2e5b989"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4aa5b68bbd7847f53444608615653832"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4aa5b68bbd7847f53444608615653832">PRIVWRITE_KEYID_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga4aa5b68bbd7847f53444608615653832"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command index for KeyID.  <a href="#ga4aa5b68bbd7847f53444608615653832">More...</a><br /></td></tr>
<tr class="separator:ga4aa5b68bbd7847f53444608615653832"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab65b17098ebc6027a9240ca84c07ab5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab65b17098ebc6027a9240ca84c07ab5c">PRIVWRITE_VALUE_IDX</a>&#160;&#160;&#160;( 5)</td></tr>
<tr class="memdesc:gab65b17098ebc6027a9240ca84c07ab5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command index for value.  <a href="#gab65b17098ebc6027a9240ca84c07ab5c">More...</a><br /></td></tr>
<tr class="separator:gab65b17098ebc6027a9240ca84c07ab5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20afccf35c609f05a3d7dc70687baa2e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga20afccf35c609f05a3d7dc70687baa2e">PRIVWRITE_MAC_IDX</a>&#160;&#160;&#160;(41)</td></tr>
<tr class="memdesc:ga20afccf35c609f05a3d7dc70687baa2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command index for MAC.  <a href="#ga20afccf35c609f05a3d7dc70687baa2e">More...</a><br /></td></tr>
<tr class="separator:ga20afccf35c609f05a3d7dc70687baa2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17980d6743441fa2afd71523006ae058"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga17980d6743441fa2afd71523006ae058">PRIVWRITE_COUNT</a>&#160;&#160;&#160;(75)</td></tr>
<tr class="memdesc:ga17980d6743441fa2afd71523006ae058"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command packet size.  <a href="#ga17980d6743441fa2afd71523006ae058">More...</a><br /></td></tr>
<tr class="separator:ga17980d6743441fa2afd71523006ae058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba7cf525ec69429e947f294361e1cdab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaba7cf525ec69429e947f294361e1cdab">PRIVWRITE_ZONE_MASK</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:gaba7cf525ec69429e947f294361e1cdab"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite zone bits 0 to 5 and 7 are 0.  <a href="#gaba7cf525ec69429e947f294361e1cdab">More...</a><br /></td></tr>
<tr class="separator:gaba7cf525ec69429e947f294361e1cdab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa24177621a8a2fbe041ef0ce73a414d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafa24177621a8a2fbe041ef0ce73a414d">PRIVWRITE_MODE_ENCRYPT</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:gafa24177621a8a2fbe041ef0ce73a414d"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite mode: encrypted.  <a href="#gafa24177621a8a2fbe041ef0ce73a414d">More...</a><br /></td></tr>
<tr class="separator:gafa24177621a8a2fbe041ef0ce73a414d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa66ad8429261c1ba13d064d660d6d464"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa66ad8429261c1ba13d064d660d6d464">PRIVWRITE_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:gaa66ad8429261c1ba13d064d660d6d464"><td class="mdescLeft">&#160;</td><td class="mdescRight">PrivWrite command response packet size.  <a href="#gaa66ad8429261c1ba13d064d660d6d464">More...</a><br /></td></tr>
<tr class="separator:gaa66ad8429261c1ba13d064d660d6d464"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Random Command</h2></td></tr>
<tr class="memitem:gac846e3f7c924497d70254125dae38dce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac846e3f7c924497d70254125dae38dce">RANDOM_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gac846e3f7c924497d70254125dae38dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random command index for mode.  <a href="#gac846e3f7c924497d70254125dae38dce">More...</a><br /></td></tr>
<tr class="separator:gac846e3f7c924497d70254125dae38dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f54bd6d53a687ae3660196497e8faa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3f54bd6d53a687ae3660196497e8faa1">RANDOM_PARAM2_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:ga3f54bd6d53a687ae3660196497e8faa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random command index for 2. parameter.  <a href="#ga3f54bd6d53a687ae3660196497e8faa1">More...</a><br /></td></tr>
<tr class="separator:ga3f54bd6d53a687ae3660196497e8faa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae91d272f84bc3ad357ff6ed2e9c9a6b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae91d272f84bc3ad357ff6ed2e9c9a6b0">RANDOM_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gae91d272f84bc3ad357ff6ed2e9c9a6b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random command packet size.  <a href="#gae91d272f84bc3ad357ff6ed2e9c9a6b0">More...</a><br /></td></tr>
<tr class="separator:gae91d272f84bc3ad357ff6ed2e9c9a6b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf12673d4006ff926c863b2d0f9038561"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf12673d4006ff926c863b2d0f9038561">RANDOM_SEED_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gaf12673d4006ff926c863b2d0f9038561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random mode for automatic seed update.  <a href="#gaf12673d4006ff926c863b2d0f9038561">More...</a><br /></td></tr>
<tr class="separator:gaf12673d4006ff926c863b2d0f9038561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga444d3fe4302ca95080d919dc89b1bc52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga444d3fe4302ca95080d919dc89b1bc52">RANDOM_NO_SEED_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga444d3fe4302ca95080d919dc89b1bc52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random mode for no seed update.  <a href="#ga444d3fe4302ca95080d919dc89b1bc52">More...</a><br /></td></tr>
<tr class="separator:ga444d3fe4302ca95080d919dc89b1bc52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2197c0ad6c0fbf1c801228de9bf0d2ab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2197c0ad6c0fbf1c801228de9bf0d2ab">RANDOM_NUM_SIZE</a>&#160;&#160;&#160;((uint8_t)32)</td></tr>
<tr class="memdesc:ga2197c0ad6c0fbf1c801228de9bf0d2ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes in the data packet of a random command.  <a href="#ga2197c0ad6c0fbf1c801228de9bf0d2ab">More...</a><br /></td></tr>
<tr class="separator:ga2197c0ad6c0fbf1c801228de9bf0d2ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb7623b070997b65f0bb108abf8e5f44"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaeb7623b070997b65f0bb108abf8e5f44">RANDOM_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:gaeb7623b070997b65f0bb108abf8e5f44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Random command response packet size.  <a href="#gaeb7623b070997b65f0bb108abf8e5f44">More...</a><br /></td></tr>
<tr class="separator:gaeb7623b070997b65f0bb108abf8e5f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the Read Command</h2></td></tr>
<tr class="memitem:gae273cfc99b8538b3c81ba8240a6ff425"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae273cfc99b8538b3c81ba8240a6ff425">READ_ZONE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gae273cfc99b8538b3c81ba8240a6ff425"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command index for zone.  <a href="#gae273cfc99b8538b3c81ba8240a6ff425">More...</a><br /></td></tr>
<tr class="separator:gae273cfc99b8538b3c81ba8240a6ff425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9f464ac4065aff75f5967933725d665"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaf9f464ac4065aff75f5967933725d665">READ_ADDR_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td></tr>
<tr class="memdesc:gaf9f464ac4065aff75f5967933725d665"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command index for address.  <a href="#gaf9f464ac4065aff75f5967933725d665">More...</a><br /></td></tr>
<tr class="separator:gaf9f464ac4065aff75f5967933725d665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad222baf9301d2d35a5c928a0d91c4335"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad222baf9301d2d35a5c928a0d91c4335">READ_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gad222baf9301d2d35a5c928a0d91c4335"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command packet size.  <a href="#gad222baf9301d2d35a5c928a0d91c4335">More...</a><br /></td></tr>
<tr class="separator:gad222baf9301d2d35a5c928a0d91c4335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf9c81ae1249f3c174ec75cf65517176"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gacf9c81ae1249f3c174ec75cf65517176">READ_ZONE_MASK</a>&#160;&#160;&#160;((uint8_t)0x83)</td></tr>
<tr class="memdesc:gacf9c81ae1249f3c174ec75cf65517176"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read zone bits 2 to 6 are 0.  <a href="#gacf9c81ae1249f3c174ec75cf65517176">More...</a><br /></td></tr>
<tr class="separator:gacf9c81ae1249f3c174ec75cf65517176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga041cfaec382d0a67dcfe36d43332da48"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga041cfaec382d0a67dcfe36d43332da48">READ_4_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga882f14cac02df8282ccad2a43afc8a23">ATCA_RSP_SIZE_VAL</a></td></tr>
<tr class="memdesc:ga041cfaec382d0a67dcfe36d43332da48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command response packet size when reading 4 bytes.  <a href="#ga041cfaec382d0a67dcfe36d43332da48">More...</a><br /></td></tr>
<tr class="separator:ga041cfaec382d0a67dcfe36d43332da48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad79706b7b1e6c0e0d29afe692d8d5c06"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad79706b7b1e6c0e0d29afe692d8d5c06">READ_32_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:gad79706b7b1e6c0e0d29afe692d8d5c06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read command response packet size when reading 32 bytes.  <a href="#gad79706b7b1e6c0e0d29afe692d8d5c06">More...</a><br /></td></tr>
<tr class="separator:gad79706b7b1e6c0e0d29afe692d8d5c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the SecureBoot Command</h2></td></tr>
<tr class="memitem:ga7ff1918de6f8238ba4f67d9368e3587d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7ff1918de6f8238ba4f67d9368e3587d">SECUREBOOT_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:ga7ff1918de6f8238ba4f67d9368e3587d"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot command index for mode.  <a href="#ga7ff1918de6f8238ba4f67d9368e3587d">More...</a><br /></td></tr>
<tr class="separator:ga7ff1918de6f8238ba4f67d9368e3587d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9257968de99742ec468463a72588820f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9257968de99742ec468463a72588820f">SECUREBOOT_DIGEST_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:ga9257968de99742ec468463a72588820f"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot digest input size.  <a href="#ga9257968de99742ec468463a72588820f">More...</a><br /></td></tr>
<tr class="separator:ga9257968de99742ec468463a72588820f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga51bd4fe709f11b3b50f47c2fb18976ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga51bd4fe709f11b3b50f47c2fb18976ca">SECUREBOOT_SIGNATURE_SIZE</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="memdesc:ga51bd4fe709f11b3b50f47c2fb18976ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot signature input size.  <a href="#ga51bd4fe709f11b3b50f47c2fb18976ca">More...</a><br /></td></tr>
<tr class="separator:ga51bd4fe709f11b3b50f47c2fb18976ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d6eb2ea4f3b5be450c0579f75fc7f6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga4d6eb2ea4f3b5be450c0579f75fc7f6e">SECUREBOOT_COUNT_DIG</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga9257968de99742ec468463a72588820f">SECUREBOOT_DIGEST_SIZE</a>)</td></tr>
<tr class="memdesc:ga4d6eb2ea4f3b5be450c0579f75fc7f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot command packet size for just a digest.  <a href="#ga4d6eb2ea4f3b5be450c0579f75fc7f6e">More...</a><br /></td></tr>
<tr class="separator:ga4d6eb2ea4f3b5be450c0579f75fc7f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd28a29107703b43a734301acf491f5c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabd28a29107703b43a734301acf491f5c">SECUREBOOT_COUNT_DIG_SIG</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga9257968de99742ec468463a72588820f">SECUREBOOT_DIGEST_SIZE</a> + <a class="el" href="a03531.html#ga51bd4fe709f11b3b50f47c2fb18976ca">SECUREBOOT_SIGNATURE_SIZE</a>)</td></tr>
<tr class="memdesc:gabd28a29107703b43a734301acf491f5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot command packet size for a digest and signature.  <a href="#gabd28a29107703b43a734301acf491f5c">More...</a><br /></td></tr>
<tr class="separator:gabd28a29107703b43a734301acf491f5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed2edebc2be522d7bb38f85d273406f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaed2edebc2be522d7bb38f85d273406f9">SECUREBOOT_MAC_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="memdesc:gaed2edebc2be522d7bb38f85d273406f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot MAC output size.  <a href="#gaed2edebc2be522d7bb38f85d273406f9">More...</a><br /></td></tr>
<tr class="separator:gaed2edebc2be522d7bb38f85d273406f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4657866a69a00b9b3bfa4df51521fa6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gab4657866a69a00b9b3bfa4df51521fa6">SECUREBOOT_RSP_SIZE_NO_MAC</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:gab4657866a69a00b9b3bfa4df51521fa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot response packet size for no MAC.  <a href="#gab4657866a69a00b9b3bfa4df51521fa6">More...</a><br /></td></tr>
<tr class="separator:gab4657866a69a00b9b3bfa4df51521fa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3db7049de685080f046f0b4221de461b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3db7049de685080f046f0b4221de461b">SECUREBOOT_RSP_SIZE_MAC</a>&#160;&#160;&#160;(<a class="el" href="a03531.html#gaa569255bc251cd90cb2d0f6b710164bc">ATCA_PACKET_OVERHEAD</a> + <a class="el" href="a03531.html#gaed2edebc2be522d7bb38f85d273406f9">SECUREBOOT_MAC_SIZE</a>)</td></tr>
<tr class="memdesc:ga3db7049de685080f046f0b4221de461b"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot response packet size with MAC.  <a href="#ga3db7049de685080f046f0b4221de461b">More...</a><br /></td></tr>
<tr class="separator:ga3db7049de685080f046f0b4221de461b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac36b471fe92c252dd02a9d1cc2c65e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaac36b471fe92c252dd02a9d1cc2c65e2">SECUREBOOT_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:gaac36b471fe92c252dd02a9d1cc2c65e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode mask.  <a href="#gaac36b471fe92c252dd02a9d1cc2c65e2">More...</a><br /></td></tr>
<tr class="separator:gaac36b471fe92c252dd02a9d1cc2c65e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga122f4b7b9f1011c04385a7caccc2d536"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga122f4b7b9f1011c04385a7caccc2d536">SECUREBOOT_MODE_FULL</a>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="memdesc:ga122f4b7b9f1011c04385a7caccc2d536"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode Full.  <a href="#ga122f4b7b9f1011c04385a7caccc2d536">More...</a><br /></td></tr>
<tr class="separator:ga122f4b7b9f1011c04385a7caccc2d536"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2aac76b15694b82fda038e127d152297"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2aac76b15694b82fda038e127d152297">SECUREBOOT_MODE_FULL_STORE</a>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="memdesc:ga2aac76b15694b82fda038e127d152297"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode FullStore.  <a href="#ga2aac76b15694b82fda038e127d152297">More...</a><br /></td></tr>
<tr class="separator:ga2aac76b15694b82fda038e127d152297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d287922c127b599204ea3bc64d4a825"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3d287922c127b599204ea3bc64d4a825">SECUREBOOT_MODE_FULL_COPY</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:ga3d287922c127b599204ea3bc64d4a825"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode FullCopy.  <a href="#ga3d287922c127b599204ea3bc64d4a825">More...</a><br /></td></tr>
<tr class="separator:ga3d287922c127b599204ea3bc64d4a825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d04ced68d56c0db40b93b767de02089"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2d04ced68d56c0db40b93b767de02089">SECUREBOOT_MODE_PROHIBIT_FLAG</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:ga2d04ced68d56c0db40b93b767de02089"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode flag to prohibit SecureBoot until next power cycle.  <a href="#ga2d04ced68d56c0db40b93b767de02089">More...</a><br /></td></tr>
<tr class="separator:ga2d04ced68d56c0db40b93b767de02089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf2bad62bab02224f51d67f6725575a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabf2bad62bab02224f51d67f6725575a4">SECUREBOOT_MODE_ENC_MAC_FLAG</a>&#160;&#160;&#160;((uint8_t)0x80)</td></tr>
<tr class="memdesc:gabf2bad62bab02224f51d67f6725575a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBoot mode flag for encrypted digest and returning validating MAC.  <a href="#gabf2bad62bab02224f51d67f6725575a4">More...</a><br /></td></tr>
<tr class="separator:gabf2bad62bab02224f51d67f6725575a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad10e2a3c801be9002d53af14357dbe9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad10e2a3c801be9002d53af14357dbe9f">SECUREBOOTCONFIG_OFFSET</a>&#160;&#160;&#160;(70)</td></tr>
<tr class="memdesc:gad10e2a3c801be9002d53af14357dbe9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">SecureBootConfig byte offset into the configuration zone.  <a href="#gad10e2a3c801be9002d53af14357dbe9f">More...</a><br /></td></tr>
<tr class="separator:gad10e2a3c801be9002d53af14357dbe9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0c9c951895abf02992e41c617702c2ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0c9c951895abf02992e41c617702c2ea">SECUREBOOTCONFIG_MODE_MASK</a>&#160;&#160;&#160;((uint16_t)0x0003)</td></tr>
<tr class="memdesc:ga0c9c951895abf02992e41c617702c2ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mask for SecureBootMode field in SecureBootConfig value.  <a href="#ga0c9c951895abf02992e41c617702c2ea">More...</a><br /></td></tr>
<tr class="separator:ga0c9c951895abf02992e41c617702c2ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76bf5d4ce89c95c658328fe8e66669e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga76bf5d4ce89c95c658328fe8e66669e7">SECUREBOOTCONFIG_MODE_DISABLED</a>&#160;&#160;&#160;((uint16_t)0x0000)</td></tr>
<tr class="memdesc:ga76bf5d4ce89c95c658328fe8e66669e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disabled SecureBootMode in SecureBootConfig value.  <a href="#ga76bf5d4ce89c95c658328fe8e66669e7">More...</a><br /></td></tr>
<tr class="separator:ga76bf5d4ce89c95c658328fe8e66669e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b86bf6731827368bf66eec960c35a32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2b86bf6731827368bf66eec960c35a32">SECUREBOOTCONFIG_MODE_FULL_BOTH</a>&#160;&#160;&#160;((uint16_t)0x0001)</td></tr>
<tr class="memdesc:ga2b86bf6731827368bf66eec960c35a32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Both digest and signature always required SecureBootMode in SecureBootConfig value.  <a href="#ga2b86bf6731827368bf66eec960c35a32">More...</a><br /></td></tr>
<tr class="separator:ga2b86bf6731827368bf66eec960c35a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga43bb6027c548274980a3ba42bdef51c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga43bb6027c548274980a3ba42bdef51c9">SECUREBOOTCONFIG_MODE_FULL_SIG</a>&#160;&#160;&#160;((uint16_t)0x0002)</td></tr>
<tr class="memdesc:ga43bb6027c548274980a3ba42bdef51c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signature stored SecureBootMode in SecureBootConfig value.  <a href="#ga43bb6027c548274980a3ba42bdef51c9">More...</a><br /></td></tr>
<tr class="separator:ga43bb6027c548274980a3ba42bdef51c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9b7c3aca6168b52321e1951893efa050"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga9b7c3aca6168b52321e1951893efa050">SECUREBOOTCONFIG_MODE_FULL_DIG</a>&#160;&#160;&#160;((uint16_t)0x0003)</td></tr>
<tr class="memdesc:ga9b7c3aca6168b52321e1951893efa050"><td class="mdescLeft">&#160;</td><td class="mdescRight">Digest stored SecureBootMode in SecureBootConfig value.  <a href="#ga9b7c3aca6168b52321e1951893efa050">More...</a><br /></td></tr>
<tr class="separator:ga9b7c3aca6168b52321e1951893efa050"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the SelfTest Command</h2></td></tr>
<tr class="memitem:gaa16bfad9cb883d258befaacadb3385ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaa16bfad9cb883d258befaacadb3385ef">SELFTEST_MODE_IDX</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td></tr>
<tr class="memdesc:gaa16bfad9cb883d258befaacadb3385ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest command index for mode.  <a href="#gaa16bfad9cb883d258befaacadb3385ef">More...</a><br /></td></tr>
<tr class="separator:gaa16bfad9cb883d258befaacadb3385ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2aba96712a9932d61146c43289e9d808"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2aba96712a9932d61146c43289e9d808">SELFTEST_COUNT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga2aba96712a9932d61146c43289e9d808"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest command packet size.  <a href="#ga2aba96712a9932d61146c43289e9d808">More...</a><br /></td></tr>
<tr class="separator:ga2aba96712a9932d61146c43289e9d808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd9a7a2257f664a4f9f674d37eb95bef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gacd9a7a2257f664a4f9f674d37eb95bef">SELFTEST_MODE_RNG</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:gacd9a7a2257f664a4f9f674d37eb95bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode RNG DRBG function.  <a href="#gacd9a7a2257f664a4f9f674d37eb95bef">More...</a><br /></td></tr>
<tr class="separator:gacd9a7a2257f664a4f9f674d37eb95bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbd09beedecedcf316a6c02e40d1e712"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafbd09beedecedcf316a6c02e40d1e712">SELFTEST_MODE_ECDSA_SIGN_VERIFY</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:gafbd09beedecedcf316a6c02e40d1e712"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode ECDSA verify function.  <a href="#gafbd09beedecedcf316a6c02e40d1e712">More...</a><br /></td></tr>
<tr class="separator:gafbd09beedecedcf316a6c02e40d1e712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01d7437a14fd35ccc926168fb4ca2ca7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga01d7437a14fd35ccc926168fb4ca2ca7">SELFTEST_MODE_ECDH</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="memdesc:ga01d7437a14fd35ccc926168fb4ca2ca7"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode ECDH function.  <a href="#ga01d7437a14fd35ccc926168fb4ca2ca7">More...</a><br /></td></tr>
<tr class="separator:ga01d7437a14fd35ccc926168fb4ca2ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91ebd87544ccdab3670cfbec8d23bd4a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga91ebd87544ccdab3670cfbec8d23bd4a">SELFTEST_MODE_AES</a>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="memdesc:ga91ebd87544ccdab3670cfbec8d23bd4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode AES encrypt function.  <a href="#ga91ebd87544ccdab3670cfbec8d23bd4a">More...</a><br /></td></tr>
<tr class="separator:ga91ebd87544ccdab3670cfbec8d23bd4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafab9546447cf1e0020c32d298a1d897f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gafab9546447cf1e0020c32d298a1d897f">SELFTEST_MODE_SHA</a>&#160;&#160;&#160;((uint8_t)0x20)</td></tr>
<tr class="memdesc:gafab9546447cf1e0020c32d298a1d897f"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode SHA function.  <a href="#gafab9546447cf1e0020c32d298a1d897f">More...</a><br /></td></tr>
<tr class="separator:gafab9546447cf1e0020c32d298a1d897f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ef61cb184d3ff5ef2f8bf9db6521888"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga1ef61cb184d3ff5ef2f8bf9db6521888">SELFTEST_MODE_ALL</a>&#160;&#160;&#160;((uint8_t)0x3B)</td></tr>
<tr class="memdesc:ga1ef61cb184d3ff5ef2f8bf9db6521888"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest mode all algorithms.  <a href="#ga1ef61cb184d3ff5ef2f8bf9db6521888">More...</a><br /></td></tr>
<tr class="separator:ga1ef61cb184d3ff5ef2f8bf9db6521888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7599639f80f3ac2a0d22f2857138cb87"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7599639f80f3ac2a0d22f2857138cb87">SELFTEST_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga7599639f80f3ac2a0d22f2857138cb87"><td class="mdescLeft">&#160;</td><td class="mdescRight">SelfTest command response packet size.  <a href="#ga7599639f80f3ac2a0d22f2857138cb87">More...</a><br /></td></tr>
<tr class="separator:ga7599639f80f3ac2a0d22f2857138cb87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Definitions for the SHA Command</h2></td></tr>
<tr class="memitem:ga49e390c29b6fc05df227604c169b86b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga49e390c29b6fc05df227604c169b86b0">SHA_COUNT_SHORT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="separator:ga49e390c29b6fc05df227604c169b86b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada37181a648dd51b374eec1cbb4bbaa3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gada37181a648dd51b374eec1cbb4bbaa3">SHA_COUNT_LONG</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td></tr>
<tr class="memdesc:gada37181a648dd51b374eec1cbb4bbaa3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Just a starting size.  <a href="#gada37181a648dd51b374eec1cbb4bbaa3">More...</a><br /></td></tr>
<tr class="separator:gada37181a648dd51b374eec1cbb4bbaa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad1d5f6fcf8f33b7ea3061280620df8bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad1d5f6fcf8f33b7ea3061280620df8bd">ATCA_SHA_DIGEST_SIZE</a>&#160;&#160;&#160;(32)</td></tr>
<tr class="separator:gad1d5f6fcf8f33b7ea3061280620df8bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad89ca95de067d12cd2f35a60b0e997b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad89ca95de067d12cd2f35a60b0e997b1">SHA_DATA_MAX</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="separator:gad89ca95de067d12cd2f35a60b0e997b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85e0a506bd6fdae6ce32d5df3a48ac1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga85e0a506bd6fdae6ce32d5df3a48ac1c">ATCA_SHA256_BLOCK_SIZE</a>&#160;&#160;&#160;(64)</td></tr>
<tr class="separator:ga85e0a506bd6fdae6ce32d5df3a48ac1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3d37a5da1c43d44e49c4e6614d133c7e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga3d37a5da1c43d44e49c4e6614d133c7e">SHA_CONTEXT_MAX_SIZE</a>&#160;&#160;&#160;(99)</td></tr>
<tr class="separator:ga3d37a5da1c43d44e49c4e6614d133c7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga612cbf6171e9a0a176e0bd2844f49528"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga612cbf6171e9a0a176e0bd2844f49528">SHA_MODE_MASK</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:ga612cbf6171e9a0a176e0bd2844f49528"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mask the bit 0-2.  <a href="#ga612cbf6171e9a0a176e0bd2844f49528">More...</a><br /></td></tr>
<tr class="separator:ga612cbf6171e9a0a176e0bd2844f49528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad42195362cd7dca0acabc8739c9a6fc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gad42195362cd7dca0acabc8739c9a6fc4">SHA_MODE_SHA256_START</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:gad42195362cd7dca0acabc8739c9a6fc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialization, does not accept a message.  <a href="#gad42195362cd7dca0acabc8739c9a6fc4">More...</a><br /></td></tr>
<tr class="separator:gad42195362cd7dca0acabc8739c9a6fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05ece414a0596ec9bb75c0ca8ca731dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga05ece414a0596ec9bb75c0ca8ca731dc">SHA_MODE_SHA256_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga05ece414a0596ec9bb75c0ca8ca731dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add 64 bytes in the meesage to the SHA context.  <a href="#ga05ece414a0596ec9bb75c0ca8ca731dc">More...</a><br /></td></tr>
<tr class="separator:ga05ece414a0596ec9bb75c0ca8ca731dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e98e55c91c7559f57fdef4c9969c188"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0e98e55c91c7559f57fdef4c9969c188">SHA_MODE_SHA256_END</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga0e98e55c91c7559f57fdef4c9969c188"><td class="mdescLeft">&#160;</td><td class="mdescRight">Complete the calculation and return the digest.  <a href="#ga0e98e55c91c7559f57fdef4c9969c188">More...</a><br /></td></tr>
<tr class="separator:ga0e98e55c91c7559f57fdef4c9969c188"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f2fc749d3d196477b22cbceee856dfb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga0f2fc749d3d196477b22cbceee856dfb">SHA_MODE_SHA256_PUBLIC</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="memdesc:ga0f2fc749d3d196477b22cbceee856dfb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add 64 byte ECC public key in the slot to the SHA context.  <a href="#ga0f2fc749d3d196477b22cbceee856dfb">More...</a><br /></td></tr>
<tr class="separator:ga0f2fc749d3d196477b22cbceee856dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbfeec0d0247336b8c6e993d4db17d11"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gabbfeec0d0247336b8c6e993d4db17d11">SHA_MODE_HMAC_START</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="memdesc:gabbfeec0d0247336b8c6e993d4db17d11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialization, HMAC calculation.  <a href="#gabbfeec0d0247336b8c6e993d4db17d11">More...</a><br /></td></tr>
<tr class="separator:gabbfeec0d0247336b8c6e993d4db17d11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2071156124a692a5f2a5c764c923f731"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga2071156124a692a5f2a5c764c923f731">SHA_MODE_HMAC_UPDATE</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="memdesc:ga2071156124a692a5f2a5c764c923f731"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add 64 bytes in the meesage to the SHA context.  <a href="#ga2071156124a692a5f2a5c764c923f731">More...</a><br /></td></tr>
<tr class="separator:ga2071156124a692a5f2a5c764c923f731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb307ed9134e0fa2f0fcbdaf7b01515d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gaeb307ed9134e0fa2f0fcbdaf7b01515d">SHA_MODE_HMAC_END</a>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="memdesc:gaeb307ed9134e0fa2f0fcbdaf7b01515d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Complete the HMAC computation and return digest.  <a href="#gaeb307ed9134e0fa2f0fcbdaf7b01515d">More...</a><br /></td></tr>
<tr class="separator:gaeb307ed9134e0fa2f0fcbdaf7b01515d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga625604e07a0618bd7d514faee5e42fba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga625604e07a0618bd7d514faee5e42fba">SHA_MODE_608_HMAC_END</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="memdesc:ga625604e07a0618bd7d514faee5e42fba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Complete the HMAC computation and return digest... Different command on 608.  <a href="#ga625604e07a0618bd7d514faee5e42fba">More...</a><br /></td></tr>
<tr class="separator:ga625604e07a0618bd7d514faee5e42fba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7e5a54695b8bd9e5087ebb94df70b39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gac7e5a54695b8bd9e5087ebb94df70b39">SHA_MODE_READ_CONTEXT</a>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="memdesc:gac7e5a54695b8bd9e5087ebb94df70b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read current SHA-256 context out of the device.  <a href="#gac7e5a54695b8bd9e5087ebb94df70b39">More...</a><br /></td></tr>
<tr class="separator:gac7e5a54695b8bd9e5087ebb94df70b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b7c499931480a88f6a106644c3d2185"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga7b7c499931480a88f6a106644c3d2185">SHA_MODE_WRITE_CONTEXT</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="memdesc:ga7b7c499931480a88f6a106644c3d2185"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restore a SHA-256 context into the device.  <a href="#ga7b7c499931480a88f6a106644c3d2185">More...</a><br /></td></tr>
<tr class="separator:ga7b7c499931480a88f6a106644c3d2185"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70f88a123587c96ad7affc1e5dae9002"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga70f88a123587c96ad7affc1e5dae9002">SHA_MODE_TARGET_MASK</a>&#160;&#160;&#160;((uint8_t)0xC0)</td></tr>
<tr class="memdesc:ga70f88a123587c96ad7affc1e5dae9002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resulting digest target location mask.  <a href="#ga70f88a123587c96ad7affc1e5dae9002">More...</a><br /></td></tr>
<tr class="separator:ga70f88a123587c96ad7affc1e5dae9002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga850ec56b408fccccaea5826d452c3a64"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga850ec56b408fccccaea5826d452c3a64">SHA_MODE_TARGET_TEMPKEY</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="memdesc:ga850ec56b408fccccaea5826d452c3a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Place resulting digest both in Output buffer and TempKey.  <a href="#ga850ec56b408fccccaea5826d452c3a64">More...</a><br /></td></tr>
<tr class="separator:ga850ec56b408fccccaea5826d452c3a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae559b402c678cc51f8252b927b8781e5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae559b402c678cc51f8252b927b8781e5">SHA_MODE_TARGET_MSGDIGBUF</a>&#160;&#160;&#160;((uint8_t)0x40)</td></tr>
<tr class="memdesc:gae559b402c678cc51f8252b927b8781e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Place resulting digest both in Output buffer and Message Digest Buffer.  <a href="#gae559b402c678cc51f8252b927b8781e5">More...</a><br /></td></tr>
<tr class="separator:gae559b402c678cc51f8252b927b8781e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0df4b9151bb3d807bc1c532036c6d88"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae0df4b9151bb3d807bc1c532036c6d88">SHA_MODE_TARGET_OUT_ONLY</a>&#160;&#160;&#160;((uint8_t)0xC0)</td></tr>
<tr class="memdesc:gae0df4b9151bb3d807bc1c532036c6d88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Place resulting digest both in Output buffer ONLY.  <a href="#gae0df4b9151bb3d807bc1c532036c6d88">More...</a><br /></td></tr>
<tr class="separator:gae0df4b9151bb3d807bc1c532036c6d88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a5a586bdb0194be827417658836bf9c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga8a5a586bdb0194be827417658836bf9c">SHA_RSP_SIZE</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:ga8a5a586bdb0194be827417658836bf9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA command response packet size.  <a href="#ga8a5a586bdb0194be827417658836bf9c">More...</a><br /></td></tr>
<tr class="separator:ga8a5a586bdb0194be827417658836bf9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74490b179b34f9925e9fe00675e53713"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#ga74490b179b34f9925e9fe00675e53713">SHA_RSP_SIZE_SHORT</a>&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td></tr>
<tr class="memdesc:ga74490b179b34f9925e9fe00675e53713"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA command response packet size only status code.  <a href="#ga74490b179b34f9925e9fe00675e53713">More...</a><br /></td></tr>
<tr class="separator:ga74490b179b34f9925e9fe00675e53713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5ad3c81d0b62f4b86a4a0dc84a79134"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03531.html#gae5ad3c81d0b62f4b86a4a0dc84a79134">SHA_RSP_SIZE_LONG</a>&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td></tr>
<tr class="memdesc:gae5ad3c81d0b62f4b86a4a0dc84a79134"><td class="mdescLeft">&#160;</td><td class="mdescRight">SHA command response packet size.  <a href="#gae5ad3c81d0b62f4b86a4a0dc84a79134">More...</a><br /></td></tr>
<tr class="separator:gae5ad3c81d0b62f4b86a4a0dc84a79134"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>CryptoAuthLib command builder object, ATCACommand. Member functions for the ATCACommand object. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga72cc5ecbdfa169d282776461ce48fda6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga72cc5ecbdfa169d282776461ce48fda6">&#9670;&nbsp;</a></span>AES_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_COUNT&#160;&#160;&#160;(23)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command packet size. </p>

</div>
</div>
<a id="ga8cbce00b91b0ddfb3264c9c367a3699a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8cbce00b91b0ddfb3264c9c367a3699a">&#9670;&nbsp;</a></span>AES_DATA_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_DATA_SIZE&#160;&#160;&#160;(16)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of AES encrypt/decrypt data </p>

</div>
</div>
<a id="gafabb67121c9c58fac9829287b55a2389"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafabb67121c9c58fac9829287b55a2389">&#9670;&nbsp;</a></span>AES_INPUT_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_INPUT_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command index for input data. </p>

</div>
</div>
<a id="ga2809c87d994c49b53e039f752834fc97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2809c87d994c49b53e039f752834fc97">&#9670;&nbsp;</a></span>AES_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command index for key id. </p>

</div>
</div>
<a id="ga01cd269d08661e645b4caee850424130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga01cd269d08661e645b4caee850424130">&#9670;&nbsp;</a></span>AES_MODE_DECRYPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_DECRYPT&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode: Decrypt. </p>

</div>
</div>
<a id="ga5ebee4d7d2d30a88ded25f9a6feecc52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ebee4d7d2d30a88ded25f9a6feecc52">&#9670;&nbsp;</a></span>AES_MODE_ENCRYPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_ENCRYPT&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode: Encrypt. </p>

</div>
</div>
<a id="ga34ec73cf7504b560883a5d192fe88793"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga34ec73cf7504b560883a5d192fe88793">&#9670;&nbsp;</a></span>AES_MODE_GFM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_GFM&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode: GFM calculation. </p>

</div>
</div>
<a id="ga890e2e40916e88caf596cff43be8ab23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga890e2e40916e88caf596cff43be8ab23">&#9670;&nbsp;</a></span>AES_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command index for mode. </p>

</div>
</div>
<a id="gaf54068dbf6ecb7bf8b1881caa0f3b89f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf54068dbf6ecb7bf8b1881caa0f3b89f">&#9670;&nbsp;</a></span>AES_MODE_KEY_BLOCK_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_KEY_BLOCK_MASK&#160;&#160;&#160;((uint8_t)0xC0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode mask for key block field. </p>

</div>
</div>
<a id="gabbbbd4cd4cc05e2ea023f059676aa37e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabbbbd4cd4cc05e2ea023f059676aa37e">&#9670;&nbsp;</a></span>AES_MODE_KEY_BLOCK_POS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_KEY_BLOCK_POS&#160;&#160;&#160;(6)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Bit shift for key block in mode. </p>

</div>
</div>
<a id="ga7b2f5fb4edfbf4cb719aedbd7215b863"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7b2f5fb4edfbf4cb719aedbd7215b863">&#9670;&nbsp;</a></span>AES_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_MASK&#160;&#160;&#160;((uint8_t)0xC7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode bits 3 to 5 are 0. </p>

</div>
</div>
<a id="ga62c9e80674303aea5f92d76c92d30d2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62c9e80674303aea5f92d76c92d30d2b">&#9670;&nbsp;</a></span>AES_MODE_OP_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_MODE_OP_MASK&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES mode operation mask. </p>

</div>
</div>
<a id="gab24f797b7c19e899ef753d9901850e44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab24f797b7c19e899ef753d9901850e44">&#9670;&nbsp;</a></span>AES_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AES_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0be09b502137446daedc43f1d3e85f86">ATCA_RSP_SIZE_16</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command response packet size. </p>

</div>
</div>
<a id="ga579676fd500ded40bc49dc53231fa658"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga579676fd500ded40bc49dc53231fa658">&#9670;&nbsp;</a></span>ATCA_ADDRESS_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ADDRESS_MASK&#160;&#160;&#160;(0x007F)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Address bit 7 to 15 are always 0. </p>

</div>
</div>
<a id="ga32d53cee52cd042a31f1adc934ad7a5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga32d53cee52cd042a31f1adc934ad7a5a">&#9670;&nbsp;</a></span>ATCA_ADDRESS_MASK_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ADDRESS_MASK_CONFIG&#160;&#160;&#160;(0x001F)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Address bits 5 to 7 are 0 for Configuration zone. </p>

</div>
</div>
<a id="ga56e3f8d816e2068d80003fdee7d58763"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56e3f8d816e2068d80003fdee7d58763">&#9670;&nbsp;</a></span>ATCA_ADDRESS_MASK_OTP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ADDRESS_MASK_OTP&#160;&#160;&#160;(0x000F)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Address bits 4 to 7 are 0 for OTP zone. </p>

</div>
</div>
<a id="ga4edf9367ffdc790e886166890fc814c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4edf9367ffdc790e886166890fc814c1">&#9670;&nbsp;</a></span>ATCA_AES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_AES&#160;&#160;&#160;((uint8_t)0x51)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES command op-code. </p>

</div>
</div>
<a id="ga6ce84aad51d25e05139f83ac9ca2b162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6ce84aad51d25e05139f83ac9ca2b162">&#9670;&nbsp;</a></span>ATCA_AES_GFM_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_AES_GFM_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gaa0117f3d3f9a9ae65a3fab1e68b7caef">ATCA_BLOCK_SIZE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of GFM data </p>

</div>
</div>
<a id="ga8335b06c5f49c384e2c2f31861865a54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8335b06c5f49c384e2c2f31861865a54">&#9670;&nbsp;</a></span>ATCA_AES_KEY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_AES_KEY_TYPE&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AES-128 Key. </p>

</div>
</div>
<a id="ga16f1550cc792fa205acef2106f2fcf54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga16f1550cc792fa205acef2106f2fcf54">&#9670;&nbsp;</a></span>ATCA_B283_KEY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_B283_KEY_TYPE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>B283 NIST ECC key. </p>

</div>
</div>
<a id="gaa0117f3d3f9a9ae65a3fab1e68b7caef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0117f3d3f9a9ae65a3fab1e68b7caef">&#9670;&nbsp;</a></span>ATCA_BLOCK_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_BLOCK_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a block </p>

</div>
</div>
<a id="ga1f9bb707789dc9194b06403113c9dfaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f9bb707789dc9194b06403113c9dfaf">&#9670;&nbsp;</a></span>ATCA_CHECKMAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHECKMAC&#160;&#160;&#160;((uint8_t)0x28)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMac command op-code. </p>

</div>
</div>
<a id="gabe16121ea22ed08080997a2cfae1c125"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabe16121ea22ed08080997a2cfae1c125">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_CLOCK_DIV_M0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_CLOCK_DIV_M0&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode clock divider M0. </p>

</div>
</div>
<a id="gaabaee03887c7e4403ac4936d9cde406e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabaee03887c7e4403ac4936d9cde406e">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_CLOCK_DIV_M1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_CLOCK_DIV_M1&#160;&#160;&#160;((uint8_t)0x28)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode clock divider M1. </p>

</div>
</div>
<a id="ga84f7e63b8711e799da259862b170fd75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84f7e63b8711e799da259862b170fd75">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_CLOCK_DIV_M2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_CLOCK_DIV_M2&#160;&#160;&#160;((uint8_t)0x68)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode clock divider M2. </p>

</div>
</div>
<a id="ga09ab7fb893534775d506020643820939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09ab7fb893534775d506020643820939">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_CLOCK_DIV_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_CLOCK_DIV_MASK&#160;&#160;&#160;((uint8_t)0xF8)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode clock divider mask. </p>

</div>
</div>
<a id="ga74a13b4b6304a02b4e006901b6ac1de5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74a13b4b6304a02b4e006901b6ac1de5">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_I2C_ADDRESS_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_I2C_ADDRESS_FLAG&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode I2C Address in UserExtraAdd flag. </p>

</div>
</div>
<a id="ga6eaf90b702c122de71a18a9b2bd43ba7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6eaf90b702c122de71a18a9b2bd43ba7">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_OFFSET&#160;&#160;&#160;(19)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode byte offset within the configuration zone. </p>

</div>
</div>
<a id="ga10795619d6fb78965b7e78996261f6cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga10795619d6fb78965b7e78996261f6cd">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_TTL_ENABLE_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_TTL_ENABLE_FLAG&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode TTLenable flag. </p>

</div>
</div>
<a id="ga9a089181beb38a1e5c5add58e96302bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a089181beb38a1e5c5add58e96302bc">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_WATCHDOG_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_WATCHDOG_LONG&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode long watchdog (~13s) </p>

</div>
</div>
<a id="ga814ad478cb05af339635633cbcd495b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga814ad478cb05af339635633cbcd495b7">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_WATCHDOG_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_WATCHDOG_MASK&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode watchdog duration mask. </p>

</div>
</div>
<a id="gab2c08e9a862fce29e741ef2b75918a8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab2c08e9a862fce29e741ef2b75918a8e">&#9670;&nbsp;</a></span>ATCA_CHIPMODE_WATCHDOG_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CHIPMODE_WATCHDOG_SHORT&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ChipMode short watchdog (~1.3s) </p>

</div>
</div>
<a id="ga3f7b636ed69136b5e5aa6d172cfd34e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3f7b636ed69136b5e5aa6d172cfd34e9">&#9670;&nbsp;</a></span>ATCA_CMD_SIZE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CMD_SIZE_MAX&#160;&#160;&#160;((uint8_t)4 * 36 + 7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum size of command packet (Verify) </p>

</div>
</div>
<a id="gac978ae798bc2c020c7b8a2e5a258016e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac978ae798bc2c020c7b8a2e5a258016e">&#9670;&nbsp;</a></span>ATCA_CMD_SIZE_MIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CMD_SIZE_MIN&#160;&#160;&#160;((uint8_t)7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>minimum number of bytes in command (from count byte to second CRC byte) </p>

</div>
</div>
<a id="ga0aac7fbfd425112b4b1e922876532a9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0aac7fbfd425112b4b1e922876532a9e">&#9670;&nbsp;</a></span>ATCA_COUNT_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_COUNT_IDX&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command packet index for count </p>

</div>
</div>
<a id="gad410516c4b4eb448a333eb3ed1f7b288"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad410516c4b4eb448a333eb3ed1f7b288">&#9670;&nbsp;</a></span>ATCA_COUNT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_COUNT_SIZE&#160;&#160;&#160;((uint8_t)1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bytes in the command packet Count. </p>

</div>
</div>
<a id="ga9599c4331857f1daa543a31fcce650fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9599c4331857f1daa543a31fcce650fd">&#9670;&nbsp;</a></span>ATCA_COUNTER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_COUNTER&#160;&#160;&#160;((uint8_t)0x24)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command op-code. </p>

</div>
</div>
<a id="ga276faf364bbb0e27819842111e08842f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga276faf364bbb0e27819842111e08842f">&#9670;&nbsp;</a></span>ATCA_CRC_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_CRC_SIZE&#160;&#160;&#160;((uint8_t)2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bytes in the command packet CRC. </p>

</div>
</div>
<a id="ga756539af7bcadf33dd3a9b2f60763f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga756539af7bcadf33dd3a9b2f60763f7a">&#9670;&nbsp;</a></span>ATCA_DATA_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_DATA_IDX&#160;&#160;&#160;(5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command packet index for data load </p>

</div>
</div>
<a id="ga0b96c7eee244d44c648245421745db12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0b96c7eee244d44c648245421745db12">&#9670;&nbsp;</a></span>ATCA_DATA_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_DATA_SIZE&#160;&#160;&#160;(<a class="el" href="a03531.html#gafa043ddb1952520a2bba28ac41a98f93">ATCA_KEY_COUNT</a> * <a class="el" href="a03531.html#ga66a410dde8f388c582495ba315284276">ATCA_KEY_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of data zone </p>

</div>
</div>
<a id="gac9405ff4647b09a6d8ab7a4d8a091ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac9405ff4647b09a6d8ab7a4d8a091ee8">&#9670;&nbsp;</a></span>ATCA_DERIVE_KEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_DERIVE_KEY&#160;&#160;&#160;((uint8_t)0x1C)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command op-code. </p>

</div>
</div>
<a id="gae8b9077022cc706947fdc8b45a573d81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8b9077022cc706947fdc8b45a573d81">&#9670;&nbsp;</a></span>ATCA_ECC_CONFIG_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ECC_CONFIG_SIZE&#160;&#160;&#160;(128)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of configuration zone </p>

</div>
</div>
<a id="ga06c1c02df3023d78b6b224060966460f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga06c1c02df3023d78b6b224060966460f">&#9670;&nbsp;</a></span>ATCA_ECDH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ECDH&#160;&#160;&#160;((uint8_t)0x43)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ECDH command op-code. </p>

</div>
</div>
<a id="ga37e24393c3e995d47a09ad962b6b83de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37e24393c3e995d47a09ad962b6b83de">&#9670;&nbsp;</a></span>ATCA_GENDIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_GENDIG&#160;&#160;&#160;((uint8_t)0x15)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command op-code. </p>

</div>
</div>
<a id="ga17f002359b157bee44a3c071a5a206db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17f002359b157bee44a3c071a5a206db">&#9670;&nbsp;</a></span>ATCA_GENKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_GENKEY&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command op-code. </p>

</div>
</div>
<a id="ga36122a4f84ec0c31330c3c0458304029"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36122a4f84ec0c31330c3c0458304029">&#9670;&nbsp;</a></span>ATCA_HMAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_HMAC&#160;&#160;&#160;((uint8_t)0x11)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC command op-code. </p>

</div>
</div>
<a id="ga0e74f12b91b93e683f27fb8b4c0bfb2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e74f12b91b93e683f27fb8b4c0bfb2f">&#9670;&nbsp;</a></span>ATCA_INFO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_INFO&#160;&#160;&#160;((uint8_t)0x30)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info command op-code. </p>

</div>
</div>
<a id="gaac4e75cf70cf0cf946216ffefaf65525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac4e75cf70cf0cf946216ffefaf65525">&#9670;&nbsp;</a></span>ATCA_K283_KEY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_K283_KEY_TYPE&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>K283 NIST ECC key. </p>

</div>
</div>
<a id="ga1c0632a1eabc73aaebcb4c7f265b8a00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c0632a1eabc73aaebcb4c7f265b8a00">&#9670;&nbsp;</a></span>ATCA_KDF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_KDF&#160;&#160;&#160;((uint8_t)0x56)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF command op-code. </p>

</div>
</div>
<a id="gafa043ddb1952520a2bba28ac41a98f93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa043ddb1952520a2bba28ac41a98f93">&#9670;&nbsp;</a></span>ATCA_KEY_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_KEY_COUNT&#160;&#160;&#160;(16)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of keys </p>

</div>
</div>
<a id="ga5da5f8005c1b2612b998afcbd823c716"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5da5f8005c1b2612b998afcbd823c716">&#9670;&nbsp;</a></span>ATCA_KEY_ID_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_KEY_ID_MAX&#160;&#160;&#160;((uint8_t)15)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum value for key id </p>

</div>
</div>
<a id="ga66a410dde8f388c582495ba315284276"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66a410dde8f388c582495ba315284276">&#9670;&nbsp;</a></span>ATCA_KEY_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_KEY_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a symmetric SHA key </p>

</div>
</div>
<a id="gac227802d9a5680688ac4c2b23b38273c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac227802d9a5680688ac4c2b23b38273c">&#9670;&nbsp;</a></span>ATCA_LOCK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_LOCK&#160;&#160;&#160;((uint8_t)0x17)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command op-code. </p>

</div>
</div>
<a id="gaf397e129e4581162f91873358b5f1538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf397e129e4581162f91873358b5f1538">&#9670;&nbsp;</a></span>ATCA_LOCKED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_LOCKED&#160;&#160;&#160;(0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Value indicating a locked zone. </p>

</div>
</div>
<a id="gaa0843d9ec7e246455483a1fb1fdf3a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0843d9ec7e246455483a1fb1fdf3a07">&#9670;&nbsp;</a></span>ATCA_MAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_MAC&#160;&#160;&#160;((uint8_t)0x08)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command op-code. </p>

</div>
</div>
<a id="ga232e4a2b3f189cc2c3594ce5f18da3aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga232e4a2b3f189cc2c3594ce5f18da3aa">&#9670;&nbsp;</a></span>ATCA_NONCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_NONCE&#160;&#160;&#160;((uint8_t)0x16)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command op-code. </p>

</div>
</div>
<a id="ga15c3e02dd629f85722f4b74e61f3adca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga15c3e02dd629f85722f4b74e61f3adca">&#9670;&nbsp;</a></span>ATCA_OPCODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_OPCODE_IDX&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command packet index for op-code </p>

</div>
</div>
<a id="gaa0eacfa4e596c3eb572753b7f5171276"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa0eacfa4e596c3eb572753b7f5171276">&#9670;&nbsp;</a></span>ATCA_OTP_BLOCK_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_OTP_BLOCK_MAX&#160;&#160;&#160;((uint8_t)1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum value for OTP block </p>

</div>
</div>
<a id="ga4c05f7bd221df19c5c6ad1fe1f4709be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c05f7bd221df19c5c6ad1fe1f4709be">&#9670;&nbsp;</a></span>ATCA_OTP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_OTP_SIZE&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of OTP zone </p>

</div>
</div>
<a id="ga6e53cd97c61a185ca397ebed8dc3edcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e53cd97c61a185ca397ebed8dc3edcb">&#9670;&nbsp;</a></span>ATCA_P256_KEY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_P256_KEY_TYPE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>P256 NIST ECC key. </p>

</div>
</div>
<a id="gaa569255bc251cd90cb2d0f6b710164bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa569255bc251cd90cb2d0f6b710164bc">&#9670;&nbsp;</a></span>ATCA_PACKET_OVERHEAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PACKET_OVERHEAD&#160;&#160;&#160;(<a class="el" href="a03531.html#gad410516c4b4eb448a333eb3ed1f7b288">ATCA_COUNT_SIZE</a> + <a class="el" href="a03531.html#ga276faf364bbb0e27819842111e08842f">ATCA_CRC_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bytes in the command packet. </p>

</div>
</div>
<a id="ga090c04fed9d153a97fb77195c7eb2f56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga090c04fed9d153a97fb77195c7eb2f56">&#9670;&nbsp;</a></span>ATCA_PARAM1_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PARAM1_IDX&#160;&#160;&#160;(2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command packet index for first parameter </p>

</div>
</div>
<a id="ga9e84a71fc7e3ba613779aeb8d740eb23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9e84a71fc7e3ba613779aeb8d740eb23">&#9670;&nbsp;</a></span>ATCA_PARAM2_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PARAM2_IDX&#160;&#160;&#160;(3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command packet index for second parameter </p>

</div>
</div>
<a id="ga7d786006183912073939b3f62075dd27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7d786006183912073939b3f62075dd27">&#9670;&nbsp;</a></span>ATCA_PAUSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PAUSE&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause command op-code. </p>

</div>
</div>
<a id="ga3caf91c8e7ec183e0ad7b93dad9cb548"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3caf91c8e7ec183e0ad7b93dad9cb548">&#9670;&nbsp;</a></span>ATCA_PRIV_KEY_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PRIV_KEY_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a p256 private key </p>

</div>
</div>
<a id="ga3171c7ab4447a2e752706bed1072e694"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3171c7ab4447a2e752706bed1072e694">&#9670;&nbsp;</a></span>ATCA_PRIVWRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PRIVWRITE&#160;&#160;&#160;((uint8_t)0x46)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command op-code. </p>

</div>
</div>
<a id="gae52318f0263884ff3a3e67328138cc75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae52318f0263884ff3a3e67328138cc75">&#9670;&nbsp;</a></span>ATCA_PUB_KEY_PAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PUB_KEY_PAD&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of the public key pad </p>

</div>
</div>
<a id="ga07089e8e8b1aa335ddfd37e591f64ebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07089e8e8b1aa335ddfd37e591f64ebb">&#9670;&nbsp;</a></span>ATCA_PUB_KEY_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_PUB_KEY_SIZE&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a p256 public key </p>

</div>
</div>
<a id="gace94188e9d741a9b44616474b633064f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace94188e9d741a9b44616474b633064f">&#9670;&nbsp;</a></span>ATCA_RANDOM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RANDOM&#160;&#160;&#160;((uint8_t)0x1B)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random command op-code. </p>

</div>
</div>
<a id="ga8760372110d92cea3570a5720db05de2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8760372110d92cea3570a5720db05de2">&#9670;&nbsp;</a></span>ATCA_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_READ&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command op-code. </p>

</div>
</div>
<a id="gabaaa930c2275599fcc3d83cfc02bfafe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabaaa930c2275599fcc3d83cfc02bfafe">&#9670;&nbsp;</a></span>ATCA_RSP_DATA_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_DATA_IDX&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>buffer index of data in response </p>

</div>
</div>
<a id="ga0be09b502137446daedc43f1d3e85f86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0be09b502137446daedc43f1d3e85f86">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_16&#160;&#160;&#160;((uint8_t)19)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing 16 bytes data </p>

</div>
</div>
<a id="gafd812ab5b70a92a4d3a420c4f7106ac5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafd812ab5b70a92a4d3a420c4f7106ac5">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_32&#160;&#160;&#160;((uint8_t)35)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing 32 bytes data </p>

</div>
</div>
<a id="ga15cc6f16cdb8f11b60981af7c3b15ef8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga15cc6f16cdb8f11b60981af7c3b15ef8">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_4</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_4&#160;&#160;&#160;((uint8_t)7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing 4 bytes data </p>

</div>
</div>
<a id="ga5b7ad7c3c75639352af5ad3b1298500c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5b7ad7c3c75639352af5ad3b1298500c">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_64&#160;&#160;&#160;((uint8_t)67)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing 64 bytes data </p>

</div>
</div>
<a id="ga67ca82b396385dd18790b48d731dfe15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67ca82b396385dd18790b48d731dfe15">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_72</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_72&#160;&#160;&#160;((uint8_t)75)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing 64 bytes data </p>

</div>
</div>
<a id="ga908aece3a9501eb14a70c2b24a3e4089"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga908aece3a9501eb14a70c2b24a3e4089">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_MAX&#160;&#160;&#160;((uint8_t)75)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum size of response packet (GenKey and Verify command) </p>

</div>
</div>
<a id="ga0c738f2cc7bf063582c34188f85ddc3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c738f2cc7bf063582c34188f85ddc3c">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_MIN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_MIN&#160;&#160;&#160;((uint8_t)4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>minimum number of bytes in response </p>

</div>
</div>
<a id="ga882f14cac02df8282ccad2a43afc8a23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga882f14cac02df8282ccad2a43afc8a23">&#9670;&nbsp;</a></span>ATCA_RSP_SIZE_VAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_RSP_SIZE_VAL&#160;&#160;&#160;((uint8_t)7)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of response packet containing four bytes of data </p>

</div>
</div>
<a id="gaf4aab184dc60e2de854994d26d57dfde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4aab184dc60e2de854994d26d57dfde">&#9670;&nbsp;</a></span>ATCA_SECUREBOOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SECUREBOOT&#160;&#160;&#160;((uint8_t)0x80)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Secure Boot command op-code. </p>

</div>
</div>
<a id="gacbec80dc1b5f24d3013c2a9b06c11bdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbec80dc1b5f24d3013c2a9b06c11bdc">&#9670;&nbsp;</a></span>ATCA_SELFTEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SELFTEST&#160;&#160;&#160;((uint8_t)0x77)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Self test command op-code. </p>

</div>
</div>
<a id="gab112a8a280ac5ad6e11b5fe2cc0be0a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab112a8a280ac5ad6e11b5fe2cc0be0a0">&#9670;&nbsp;</a></span>ATCA_SERIAL_NUM_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SERIAL_NUM_SIZE&#160;&#160;&#160;(9)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of bytes in the device serial number </p>

</div>
</div>
<a id="ga8e5f11692a8a23e1410d9b5ce8bebc2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e5f11692a8a23e1410d9b5ce8bebc2b">&#9670;&nbsp;</a></span>ATCA_SHA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SHA&#160;&#160;&#160;((uint8_t)0x47)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA command op-code. </p>

</div>
</div>
<a id="ga85e0a506bd6fdae6ce32d5df3a48ac1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85e0a506bd6fdae6ce32d5df3a48ac1c">&#9670;&nbsp;</a></span>ATCA_SHA256_BLOCK_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SHA256_BLOCK_SIZE&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga1887d11853092541df18c2a04fb6b87a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1887d11853092541df18c2a04fb6b87a">&#9670;&nbsp;</a></span>ATCA_SHA_CONFIG_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SHA_CONFIG_SIZE&#160;&#160;&#160;(88)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of configuration zone </p>

</div>
</div>
<a id="gad1d5f6fcf8f33b7ea3061280620df8bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad1d5f6fcf8f33b7ea3061280620df8bd">&#9670;&nbsp;</a></span>ATCA_SHA_DIGEST_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SHA_DIGEST_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gad325831ee2326885795706efd7b3b00e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad325831ee2326885795706efd7b3b00e">&#9670;&nbsp;</a></span>ATCA_SHA_KEY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SHA_KEY_TYPE&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA key or other data. </p>

</div>
</div>
<a id="ga56448f81a8d04c6871b3422c496bf8b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56448f81a8d04c6871b3422c496bf8b6">&#9670;&nbsp;</a></span>ATCA_SIG_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SIG_SIZE&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a p256 signature </p>

</div>
</div>
<a id="ga516dbf4bbd2c4b366e0306890d0bca56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga516dbf4bbd2c4b366e0306890d0bca56">&#9670;&nbsp;</a></span>ATCA_SIGN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_SIGN&#160;&#160;&#160;((uint8_t)0x41)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sign command op-code. </p>

</div>
</div>
<a id="ga988fff8295c1914217b8543b614f556c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga988fff8295c1914217b8543b614f556c">&#9670;&nbsp;</a></span>ATCA_TEMPKEY_KEYID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_TEMPKEY_KEYID&#160;&#160;&#160;(0xFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KeyID when referencing TempKey. </p>

</div>
</div>
<a id="ga54155caf79f004ccf0a875cf3a0ef05b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54155caf79f004ccf0a875cf3a0ef05b">&#9670;&nbsp;</a></span>ATCA_UNLOCKED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_UNLOCKED&#160;&#160;&#160;(0x55)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Value indicating an unlocked zone. </p>

</div>
</div>
<a id="ga19c9a91ccf069c8bc7afa0d5a2bc6fd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga19c9a91ccf069c8bc7afa0d5a2bc6fd2">&#9670;&nbsp;</a></span>ATCA_UPDATE_EXTRA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_UPDATE_EXTRA&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>UpdateExtra command op-code. </p>

</div>
</div>
<a id="ga8e357a6e926176155fe47aba97d915fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e357a6e926176155fe47aba97d915fb">&#9670;&nbsp;</a></span>ATCA_VERIFY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_VERIFY&#160;&#160;&#160;((uint8_t)0x45)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command op-code. </p>

</div>
</div>
<a id="ga555bdf8fa32d4d47577f7748ca928389"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga555bdf8fa32d4d47577f7748ca928389">&#9670;&nbsp;</a></span>ATCA_WORD_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_WORD_SIZE&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a word </p>

</div>
</div>
<a id="gab04d6b6e9e5a2c4c28733a6f4f3b0771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab04d6b6e9e5a2c4c28733a6f4f3b0771">&#9670;&nbsp;</a></span>ATCA_WRITE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_WRITE&#160;&#160;&#160;((uint8_t)0x12)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write command op-code. </p>

</div>
</div>
<a id="gadd3796a1d4de55604283aef5a70f7945"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadd3796a1d4de55604283aef5a70f7945">&#9670;&nbsp;</a></span>ATCA_ZONE_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_CONFIG&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configuration zone. </p>

</div>
</div>
<a id="ga4c65b241280290fae9fd4faa9d7a292b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c65b241280290fae9fd4faa9d7a292b">&#9670;&nbsp;</a></span>ATCA_ZONE_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_DATA&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data zone. </p>

</div>
</div>
<a id="ga167bc588244395e98461008070fee8f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga167bc588244395e98461008070fee8f3">&#9670;&nbsp;</a></span>ATCA_ZONE_ENCRYPTED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_ENCRYPTED&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Zone bit 6 set: Write is encrypted with an unlocked data zone. </p>

</div>
</div>
<a id="ga1d6d2f2713e845ec3b3bf465025d6858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1d6d2f2713e845ec3b3bf465025d6858">&#9670;&nbsp;</a></span>ATCA_ZONE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_MASK&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Zone mask. </p>

</div>
</div>
<a id="ga547efc6fa3cb0501b2e53f80023dff7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga547efc6fa3cb0501b2e53f80023dff7e">&#9670;&nbsp;</a></span>ATCA_ZONE_OTP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_OTP&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OTP (One Time Programming) zone. </p>

</div>
</div>
<a id="gaa32b46f2c058ee54377d0cbef1ec8764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa32b46f2c058ee54377d0cbef1ec8764">&#9670;&nbsp;</a></span>ATCA_ZONE_READWRITE_32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ATCA_ZONE_READWRITE_32&#160;&#160;&#160;((uint8_t)0x80)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Zone bit 7 set: Access 32 bytes, otherwise 4 bytes. </p>

</div>
</div>
<a id="ga0f2c0b2e264a88b766811fe4ea0de88f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f2c0b2e264a88b766811fe4ea0de88f">&#9670;&nbsp;</a></span>CHECKMAC_CLIENT_CHALLENGE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CLIENT_CHALLENGE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command index for client challenge. </p>

</div>
</div>
<a id="ga3c7444c099cf0f89f754fd3cbec77bf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3c7444c099cf0f89f754fd3cbec77bf4">&#9670;&nbsp;</a></span>CHECKMAC_CLIENT_CHALLENGE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CLIENT_CHALLENGE_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC size of client challenge. </p>

</div>
</div>
<a id="gad3d431e17094b6690d443e0a038da9e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad3d431e17094b6690d443e0a038da9e2">&#9670;&nbsp;</a></span>CHECKMAC_CLIENT_COMMAND_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CLIENT_COMMAND_SIZE&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC size of client command header size inside "other data". </p>

</div>
</div>
<a id="ga170c911bfe1a20e3572bdc5c2cd80c9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga170c911bfe1a20e3572bdc5c2cd80c9d">&#9670;&nbsp;</a></span>CHECKMAC_CLIENT_RESPONSE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CLIENT_RESPONSE_IDX&#160;&#160;&#160;(37)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command index for client response. </p>

</div>
</div>
<a id="ga93cb0fdfc89b69cb1c4670f30288f2ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga93cb0fdfc89b69cb1c4670f30288f2ad">&#9670;&nbsp;</a></span>CHECKMAC_CLIENT_RESPONSE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CLIENT_RESPONSE_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC size of client response. </p>

</div>
</div>
<a id="ga09b26b691e29966bcec1513edf819efe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09b26b691e29966bcec1513edf819efe">&#9670;&nbsp;</a></span>CHECKMAC_CMD_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CMD_MATCH&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC return value when there is a match. </p>

</div>
</div>
<a id="ga1db673cb318ec36ebd0c9c1a5ce301ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1db673cb318ec36ebd0c9c1a5ce301ad">&#9670;&nbsp;</a></span>CHECKMAC_CMD_MISMATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_CMD_MISMATCH&#160;&#160;&#160;(1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC return value when there is a mismatch. </p>

</div>
</div>
<a id="ga4c998ee3d596f3006a4488bd8657df33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c998ee3d596f3006a4488bd8657df33">&#9670;&nbsp;</a></span>CHECKMAC_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_COUNT&#160;&#160;&#160;(84)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command packet size. </p>

</div>
</div>
<a id="ga1ba2ec2d321b3f90f53c02c7fb9711f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ba2ec2d321b3f90f53c02c7fb9711f2">&#9670;&nbsp;</a></span>CHECKMAC_DATA_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_DATA_IDX&#160;&#160;&#160;(69)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command index for other data. </p>

</div>
</div>
<a id="ga4203bbb296cd67d035066979657cf979"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4203bbb296cd67d035066979657cf979">&#9670;&nbsp;</a></span>CHECKMAC_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command index for key identifier. </p>

</div>
</div>
<a id="ga9088fc1b89c3ca9b58901de000d8d55d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9088fc1b89c3ca9b58901de000d8d55d">&#9670;&nbsp;</a></span>CHECKMAC_MODE_BLOCK1_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_BLOCK1_TEMPKEY&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode bit 1: first SHA block from TempKey. </p>

</div>
</div>
<a id="ga40d926e0e037fc8bb265bb19f57e5d1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga40d926e0e037fc8bb265bb19f57e5d1a">&#9670;&nbsp;</a></span>CHECKMAC_MODE_BLOCK2_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_BLOCK2_TEMPKEY&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode bit 0: second SHA block from TempKey. </p>

</div>
</div>
<a id="gaaabcd1e4afb29088a17f7e87e7136e24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaabcd1e4afb29088a17f7e87e7136e24">&#9670;&nbsp;</a></span>CHECKMAC_MODE_CHALLENGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_CHALLENGE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode 0: first SHA block from key id. </p>

</div>
</div>
<a id="gae757542e1c4d4815e1dc8db034dca476"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae757542e1c4d4815e1dc8db034dca476">&#9670;&nbsp;</a></span>CHECKMAC_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC command index for mode. </p>

</div>
</div>
<a id="gabeef4ff866116f4e17a6c3ad94b0a286"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabeef4ff866116f4e17a6c3ad94b0a286">&#9670;&nbsp;</a></span>CHECKMAC_MODE_INCLUDE_OTP_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_INCLUDE_OTP_64&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode bit 5: include first 64 OTP bits. </p>

</div>
</div>
<a id="ga67e74cb132024711cf064ff98021d71f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67e74cb132024711cf064ff98021d71f">&#9670;&nbsp;</a></span>CHECKMAC_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_MASK&#160;&#160;&#160;((uint8_t)0x27)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode bits 3, 4, 6, and 7 are 0. </p>

</div>
</div>
<a id="gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3ca4e46c6a0fb69ba0dfa5fe88ed9ad">&#9670;&nbsp;</a></span>CHECKMAC_MODE_SOURCE_FLAG_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_MODE_SOURCE_FLAG_MATCH&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC mode bit 2: match TempKey.SourceFlag. </p>

</div>
</div>
<a id="ga7c365741639a5c7dc29267a130e8d827"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7c365741639a5c7dc29267a130e8d827">&#9670;&nbsp;</a></span>CHECKMAC_OTHER_DATA_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_OTHER_DATA_SIZE&#160;&#160;&#160;(13)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC size of "other data". </p>

</div>
</div>
<a id="gaa44ecaa440ab845d5939333171476adf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa44ecaa440ab845d5939333171476adf">&#9670;&nbsp;</a></span>CHECKMAC_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHECKMAC_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CheckMAC response packet size. </p>

</div>
</div>
<a id="ga6a6daf9c5640ad80e7af330daad1f6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a6daf9c5640ad80e7af330daad1f6ea">&#9670;&nbsp;</a></span>CMD_STATUS_BYTE_COMM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_BYTE_COMM&#160;&#160;&#160;((uint8_t)0xFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>communication error </p>

</div>
</div>
<a id="ga44cee4dee17a7c1a2618d11e8e5774dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga44cee4dee17a7c1a2618d11e8e5774dd">&#9670;&nbsp;</a></span>CMD_STATUS_BYTE_ECC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_BYTE_ECC&#160;&#160;&#160;((uint8_t)0x05)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command ECC error </p>

</div>
</div>
<a id="gae496c798891069e04802bbac7d96e0f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae496c798891069e04802bbac7d96e0f5">&#9670;&nbsp;</a></span>CMD_STATUS_BYTE_EXEC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_BYTE_EXEC&#160;&#160;&#160;((uint8_t)0x0F)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command execution error </p>

</div>
</div>
<a id="gaef76930f6d419fc30841be04fe6ac8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaef76930f6d419fc30841be04fe6ac8d6">&#9670;&nbsp;</a></span>CMD_STATUS_BYTE_PARSE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_BYTE_PARSE&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command parse error </p>

</div>
</div>
<a id="ga85c326c023bdc268c499eb33375f2270"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85c326c023bdc268c499eb33375f2270">&#9670;&nbsp;</a></span>CMD_STATUS_SUCCESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_SUCCESS&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>status byte for success </p>

</div>
</div>
<a id="gafd20c2250b83786f216a100bde94a670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafd20c2250b83786f216a100bde94a670">&#9670;&nbsp;</a></span>CMD_STATUS_WAKEUP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CMD_STATUS_WAKEUP&#160;&#160;&#160;((uint8_t)0x11)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>status byte after wake-up </p>

</div>
</div>
<a id="ga20f86d5c7f97f2513eebddce69917fbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20f86d5c7f97f2513eebddce69917fbf">&#9670;&nbsp;</a></span>COUNTER_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga269bd52a7856116ebce13c1072f56d9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga269bd52a7856116ebce13c1072f56d9e">&#9670;&nbsp;</a></span>COUNTER_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command index for key id. </p>

</div>
</div>
<a id="gabc722de99f444668d09e3815fcc78400"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabc722de99f444668d09e3815fcc78400">&#9670;&nbsp;</a></span>COUNTER_MAX_VALUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_MAX_VALUE&#160;&#160;&#160;((uint32_t)2097151)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter maximum value of the counter. </p>

</div>
</div>
<a id="ga83a00fa1769c54aeb5ad02bdfba5b3e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83a00fa1769c54aeb5ad02bdfba5b3e7">&#9670;&nbsp;</a></span>COUNTER_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command index for mode. </p>

</div>
</div>
<a id="gaadb200c87d6dedb5768eeb8395e697c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaadb200c87d6dedb5768eeb8395e697c2">&#9670;&nbsp;</a></span>COUNTER_MODE_INCREMENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_MODE_INCREMENT&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command mode for incrementing. </p>

</div>
</div>
<a id="ga7b90ca417a76facaeec91d8f2c10f860"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7b90ca417a76facaeec91d8f2c10f860">&#9670;&nbsp;</a></span>COUNTER_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_MODE_MASK&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter mode bits 1 to 7 are 0. </p>

</div>
</div>
<a id="ga4e3355c5ab7c48cfe466c9374ccc698e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4e3355c5ab7c48cfe466c9374ccc698e">&#9670;&nbsp;</a></span>COUNTER_MODE_READ</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_MODE_READ&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command mode for reading. </p>

</div>
</div>
<a id="ga66287a8b6f625f866b5cecc4845993ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66287a8b6f625f866b5cecc4845993ed">&#9670;&nbsp;</a></span>COUNTER_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COUNTER_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga15cc6f16cdb8f11b60981af7c3b15ef8">ATCA_RSP_SIZE_4</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter command response packet size. </p>

</div>
</div>
<a id="gac0386500d37b5502158a62b8d864580f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac0386500d37b5502158a62b8d864580f">&#9670;&nbsp;</a></span>DERIVE_KEY_COUNT_LARGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_COUNT_LARGE&#160;&#160;&#160;(39)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command packet size with MAC. </p>

</div>
</div>
<a id="ga3a3d3289c719d81f95b3d025a2564c9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3a3d3289c719d81f95b3d025a2564c9f">&#9670;&nbsp;</a></span>DERIVE_KEY_COUNT_SMALL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_COUNT_SMALL&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command packet size without MAC. </p>

</div>
</div>
<a id="gac3f89b5db216fd58ae2de3ebd52e26c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3f89b5db216fd58ae2de3ebd52e26c5">&#9670;&nbsp;</a></span>DERIVE_KEY_MAC_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_MAC_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command index for optional MAC. </p>

</div>
</div>
<a id="gaffa79c933fa76585479228b15c2cbc83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaffa79c933fa76585479228b15c2cbc83">&#9670;&nbsp;</a></span>DERIVE_KEY_MAC_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_MAC_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey MAC size. </p>

</div>
</div>
<a id="gac6d810ee00947694d9b95d95db0b2f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac6d810ee00947694d9b95d95db0b2f3c">&#9670;&nbsp;</a></span>DERIVE_KEY_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_MODE&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command mode set to 4 as in datasheet. </p>

</div>
</div>
<a id="gad6f89d1bb03ed8d84e230bedca57ddd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad6f89d1bb03ed8d84e230bedca57ddd9">&#9670;&nbsp;</a></span>DERIVE_KEY_RANDOM_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_RANDOM_FLAG&#160;&#160;&#160;((uint8_t)4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey 1. parameter; has to match TempKey.SourceFlag. </p>

</div>
</div>
<a id="ga3495c2fd81985342858bac47300bcdc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3495c2fd81985342858bac47300bcdc8">&#9670;&nbsp;</a></span>DERIVE_KEY_RANDOM_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_RANDOM_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command index for random bit. </p>

</div>
</div>
<a id="ga766a94a7e38b558e1165b24de78d21db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga766a94a7e38b558e1165b24de78d21db">&#9670;&nbsp;</a></span>DERIVE_KEY_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey response packet size. </p>

</div>
</div>
<a id="ga7216bb6f51f67f09e5372c7f731bf23a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7216bb6f51f67f09e5372c7f731bf23a">&#9670;&nbsp;</a></span>DERIVE_KEY_TARGETKEY_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DERIVE_KEY_TARGETKEY_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DeriveKey command index for target slot. </p>

</div>
</div>
<a id="gaf8ad6785828f72b793fb4452f3cb6698"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8ad6785828f72b793fb4452f3cb6698">&#9670;&nbsp;</a></span>ECDH_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_COUNT&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga07089e8e8b1aa335ddfd37e591f64ebb">ATCA_PUB_KEY_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gaa21e10945076d803129feb07946591f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa21e10945076d803129feb07946591f9">&#9670;&nbsp;</a></span>ECDH_KEY_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_KEY_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gaa0117f3d3f9a9ae65a3fab1e68b7caef">ATCA_BLOCK_SIZE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ECDH output data size. </p>

</div>
</div>
<a id="ga0e360558cd7cb842198cd8cd5d7a3da6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e360558cd7cb842198cd8cd5d7a3da6">&#9670;&nbsp;</a></span>ECDH_MODE_COPY_COMPATIBLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_COPY_COMPATIBLE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga4abde1839cbeb254d79f1deac8d42c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4abde1839cbeb254d79f1deac8d42c9e">&#9670;&nbsp;</a></span>ECDH_MODE_COPY_EEPROM_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_COPY_EEPROM_SLOT&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gafb0b0b4ae54efabd5bd3c906935620ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafb0b0b4ae54efabd5bd3c906935620ca">&#9670;&nbsp;</a></span>ECDH_MODE_COPY_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_COPY_MASK&#160;&#160;&#160;((uint8_t)0x0C)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga4f6024d4d7e0fcd026fac40297db4c96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f6024d4d7e0fcd026fac40297db4c96">&#9670;&nbsp;</a></span>ECDH_MODE_COPY_OUTPUT_BUFFER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_COPY_OUTPUT_BUFFER&#160;&#160;&#160;((uint8_t)0x0C)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga7e9ea268fbc8b0b5bb038ae30b5ec500"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7e9ea268fbc8b0b5bb038ae30b5ec500">&#9670;&nbsp;</a></span>ECDH_MODE_COPY_TEMP_KEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_COPY_TEMP_KEY&#160;&#160;&#160;((uint8_t)0x08)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gaa56ce725d85dcfbf7c217a748ca0a8b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa56ce725d85dcfbf7c217a748ca0a8b1">&#9670;&nbsp;</a></span>ECDH_MODE_OUTPUT_CLEAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_OUTPUT_CLEAR&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga0ea0e257512fa047f26910c6605a9769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0ea0e257512fa047f26910c6605a9769">&#9670;&nbsp;</a></span>ECDH_MODE_OUTPUT_ENC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_OUTPUT_ENC&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga2b2c07254f098dc8f8d87f2e09703adb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b2c07254f098dc8f8d87f2e09703adb">&#9670;&nbsp;</a></span>ECDH_MODE_OUTPUT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_OUTPUT_MASK&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gae53c5f9d3aaa1b75dd1d0ffa3ab861d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae53c5f9d3aaa1b75dd1d0ffa3ab861d3">&#9670;&nbsp;</a></span>ECDH_MODE_SOURCE_EEPROM_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_SOURCE_EEPROM_SLOT&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga7b24dc2030441b0bf952d8c297b22a41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7b24dc2030441b0bf952d8c297b22a41">&#9670;&nbsp;</a></span>ECDH_MODE_SOURCE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_SOURCE_MASK&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga9bf558eb7c48b79f3df382c3ec7d454d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bf558eb7c48b79f3df382c3ec7d454d">&#9670;&nbsp;</a></span>ECDH_MODE_SOURCE_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_MODE_SOURCE_TEMPKEY&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga928b142d4f3727104100dee0d0330f83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga928b142d4f3727104100dee0d0330f83">&#9670;&nbsp;</a></span>ECDH_PREFIX_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_PREFIX_MODE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gaa667451bf2e061c3e76a7a8a5d8b86d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa667451bf2e061c3e76a7a8a5d8b86d4">&#9670;&nbsp;</a></span>ECDH_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ECDH_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga5b7ad7c3c75639352af5ad3b1298500c">ATCA_RSP_SIZE_64</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ECDH command packet size. </p>

</div>
</div>
<a id="ga235eb9557fa074bf152f9ce9c5844058"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga235eb9557fa074bf152f9ce9c5844058">&#9670;&nbsp;</a></span>GENDIG_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command packet size without "other data". </p>

</div>
</div>
<a id="gac101f854026596231715eca664550e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac101f854026596231715eca664550e36">&#9670;&nbsp;</a></span>GENDIG_DATA_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_DATA_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command index for optional data. </p>

</div>
</div>
<a id="gac2d5b5de26d0318ba6db3ad1055eb6ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac2d5b5de26d0318ba6db3ad1055eb6ec">&#9670;&nbsp;</a></span>GENDIG_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command index for key id. </p>

</div>
</div>
<a id="ga2c26247a084a027f06a2aaf692313f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2c26247a084a027f06a2aaf692313f12">&#9670;&nbsp;</a></span>GENDIG_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command response packet size. </p>

</div>
</div>
<a id="ga9cab0c5dd2e3796497a5237f101f19e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9cab0c5dd2e3796497a5237f101f19e0">&#9670;&nbsp;</a></span>GENDIG_ZONE_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_CONFIG&#160;&#160;&#160;((uint8_t)0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id config. Use KeyID to specify any of the four 256-bit blocks of the Configuration zone. </p>

</div>
</div>
<a id="ga84f07835d69fed7484299c78f4971a3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84f07835d69fed7484299c78f4971a3e">&#9670;&nbsp;</a></span>GENDIG_ZONE_COUNTER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_COUNTER&#160;&#160;&#160;((uint8_t)4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id counter. KeyID specifies the monotonic counter ID to be included in the message generation. </p>

</div>
</div>
<a id="gabc21880360bdce990ad724fa7a7d9bf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabc21880360bdce990ad724fa7a7d9bf0">&#9670;&nbsp;</a></span>GENDIG_ZONE_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_DATA&#160;&#160;&#160;((uint8_t)2)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id data. Use KeyID to specify a slot in the Data zone or a transport key in the hardware array. </p>

</div>
</div>
<a id="gab79b57111a49362bd51922813cb84355"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab79b57111a49362bd51922813cb84355">&#9670;&nbsp;</a></span>GENDIG_ZONE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig command index for zone. </p>

</div>
</div>
<a id="gaba61a1bd245d7471e59a39577498065b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba61a1bd245d7471e59a39577498065b">&#9670;&nbsp;</a></span>GENDIG_ZONE_KEY_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_KEY_CONFIG&#160;&#160;&#160;((uint8_t)5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id key config. KeyID specifies the slot for which the configuration information is to be included in the message generation. </p>

</div>
</div>
<a id="gaee95b219cf932dfedb3a3c5e23d01a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee95b219cf932dfedb3a3c5e23d01a9d">&#9670;&nbsp;</a></span>GENDIG_ZONE_OTP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_OTP&#160;&#160;&#160;((uint8_t)1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id OTP. Use KeyID to specify either the first or second 256-bit block of the OTP zone. </p>

</div>
</div>
<a id="ga49923a8835f64294a5e9b3660c80dc7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49923a8835f64294a5e9b3660c80dc7e">&#9670;&nbsp;</a></span>GENDIG_ZONE_SHARED_NONCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENDIG_ZONE_SHARED_NONCE&#160;&#160;&#160;((uint8_t)3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenDig zone id shared nonce. KeyID specifies the location of the input value in the message generation. </p>

</div>
</div>
<a id="gab6782a07fce203169aba6dd32f8ab123"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6782a07fce203169aba6dd32f8ab123">&#9670;&nbsp;</a></span>GENKEY_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command packet size without "other data". </p>

</div>
</div>
<a id="ga07289de41178ecfb6392da31e31e27c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07289de41178ecfb6392da31e31e27c3">&#9670;&nbsp;</a></span>GENKEY_COUNT_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_COUNT_DATA&#160;&#160;&#160;(10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command packet size with "other data". </p>

</div>
</div>
<a id="ga9163acda5dd0653f40b6ad445f2c972d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9163acda5dd0653f40b6ad445f2c972d">&#9670;&nbsp;</a></span>GENKEY_DATA_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_DATA_IDX&#160;&#160;&#160;(5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command index for other data. </p>

</div>
</div>
<a id="ga5cacc01be37cebf35e300be96893477e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5cacc01be37cebf35e300be96893477e">&#9670;&nbsp;</a></span>GENKEY_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command index for key id. </p>

</div>
</div>
<a id="ga609531b6e844f5a9eebd7c4dcd869b16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga609531b6e844f5a9eebd7c4dcd869b16">&#9670;&nbsp;</a></span>GENKEY_MODE_DIGEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_DIGEST&#160;&#160;&#160;((uint8_t)0x08)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey mode: PubKey digest will be created after the public key is calculated. </p>

</div>
</div>
<a id="gaf120353f5e8e159eaa9c930555b159d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf120353f5e8e159eaa9c930555b159d5">&#9670;&nbsp;</a></span>GENKEY_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey command index for mode. </p>

</div>
</div>
<a id="gaa3984c137090a2d103b2089c7ac31642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa3984c137090a2d103b2089c7ac31642">&#9670;&nbsp;</a></span>GENKEY_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_MASK&#160;&#160;&#160;((uint8_t)0x1C)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey mode bits 0 to 1 and 5 to 7 are 0. </p>

</div>
</div>
<a id="gadc25fc4bebaac1582bb57d791f72356d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadc25fc4bebaac1582bb57d791f72356d">&#9670;&nbsp;</a></span>GENKEY_MODE_PRIVATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_PRIVATE&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey mode: private key generation. </p>

</div>
</div>
<a id="ga8d9a1e331d54bffb36f7b4e97af5d161"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8d9a1e331d54bffb36f7b4e97af5d161">&#9670;&nbsp;</a></span>GENKEY_MODE_PUBKEY_DIGEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_PUBKEY_DIGEST&#160;&#160;&#160;((uint8_t)0x10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey mode: Calculate PubKey digest on the public key in KeyId. </p>

</div>
</div>
<a id="ga03e556ba7849f28ee8c58df8921cba66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03e556ba7849f28ee8c58df8921cba66">&#9670;&nbsp;</a></span>GENKEY_MODE_PUBLIC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_MODE_PUBLIC&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey mode: public key calculation. </p>

</div>
</div>
<a id="ga62644ffb962c56fbea154526a2a84b40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62644ffb962c56fbea154526a2a84b40">&#9670;&nbsp;</a></span>GENKEY_OTHER_DATA_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_OTHER_DATA_SIZE&#160;&#160;&#160;(3)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey size of "other data". </p>

</div>
</div>
<a id="gad5b1ead29f3ce3cee52d106af531ab86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5b1ead29f3ce3cee52d106af531ab86">&#9670;&nbsp;</a></span>GENKEY_PRIVATE_TO_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_PRIVATE_TO_TEMPKEY&#160;&#160;&#160;((uint16_t)0xFFFF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey Create private key and store to tempkey (608 only) </p>

</div>
</div>
<a id="ga08e8a80be2717ece7c5ed5cc0a27fbab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08e8a80be2717ece7c5ed5cc0a27fbab">&#9670;&nbsp;</a></span>GENKEY_RSP_SIZE_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_RSP_SIZE_LONG&#160;&#160;&#160;<a class="el" href="a03531.html#ga5b7ad7c3c75639352af5ad3b1298500c">ATCA_RSP_SIZE_64</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey response packet size when returning a public key. </p>

</div>
</div>
<a id="ga0543a644422ffc7460eeeb78799bde16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0543a644422ffc7460eeeb78799bde16">&#9670;&nbsp;</a></span>GENKEY_RSP_SIZE_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GENKEY_RSP_SIZE_SHORT&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GenKey response packet size in Digest mode. </p>

</div>
</div>
<a id="ga041d4cd845319ea0a693a1c4008b2a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga041d4cd845319ea0a693a1c4008b2a06">&#9670;&nbsp;</a></span>HMAC_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC command packet size. </p>

</div>
</div>
<a id="gacd5976f898b9f67ea8e21df4e27fb712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd5976f898b9f67ea8e21df4e27fb712">&#9670;&nbsp;</a></span>HMAC_DIGEST_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_DIGEST_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC size of digest response. </p>

</div>
</div>
<a id="ga23673926f1dd2464bd20f6512985d855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga23673926f1dd2464bd20f6512985d855">&#9670;&nbsp;</a></span>HMAC_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC command index for key id. </p>

</div>
</div>
<a id="ga564f52346bfc03bdd50aa7d03974efe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga564f52346bfc03bdd50aa7d03974efe7">&#9670;&nbsp;</a></span>HMAC_MODE_FLAG_FULLSN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_FLAG_FULLSN&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bit 6: If set, include the 48 bits SN[2:3] and SN[4:7] in the message.; otherwise, the corresponding message bits are set to zero. </p>

</div>
</div>
<a id="ga62261a1c6f121c296dce7e0f697c9a4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62261a1c6f121c296dce7e0f697c9a4a">&#9670;&nbsp;</a></span>HMAC_MODE_FLAG_OTP64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_FLAG_OTP64&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bit 5: Include the first 64 OTP bits (OTP[0] through OTP[7]) in the message.; otherwise, the corresponding message bits are set to zero. If Mode[4] is set, the value of this mode bit is ignored. Not applicable for ATECC508A. </p>

</div>
</div>
<a id="ga34be98ca6fb22f331eb62cfc4104ded6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga34be98ca6fb22f331eb62cfc4104ded6">&#9670;&nbsp;</a></span>HMAC_MODE_FLAG_OTP88</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_FLAG_OTP88&#160;&#160;&#160;((uint8_t)0x10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bit 4: Include the first 88 OTP bits (OTP[0] through OTP[10]) in the message.; otherwise, the corresponding message bits are set to zero. Not applicable for ATECC508A. </p>

</div>
</div>
<a id="gac3b1177210ba941afa527bacbcfd4fab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3b1177210ba941afa527bacbcfd4fab">&#9670;&nbsp;</a></span>HMAC_MODE_FLAG_TK_NORAND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_FLAG_TK_NORAND&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bit 2: The value of this bit must match the value in TempKey.SourceFlag or the command will return an error. </p>

</div>
</div>
<a id="ga08326ee33be4faaec3be800e80c1cc17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08326ee33be4faaec3be800e80c1cc17">&#9670;&nbsp;</a></span>HMAC_MODE_FLAG_TK_RAND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_FLAG_TK_RAND&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bit 2: The value of this bit must match the value in TempKey.SourceFlag or the command will return an error. </p>

</div>
</div>
<a id="gadf58a677811566e8446870523bb65850"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadf58a677811566e8446870523bb65850">&#9670;&nbsp;</a></span>HMAC_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC command index for mode. </p>

</div>
</div>
<a id="ga8250b0997534871fdd6ead1c3aa220ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8250b0997534871fdd6ead1c3aa220ba">&#9670;&nbsp;</a></span>HMAC_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_MODE_MASK&#160;&#160;&#160;((uint8_t)0x74)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC mode bits 0, 1, 3, and 7 are 0. </p>

</div>
</div>
<a id="gadec1fd29e8c6b2f804fc4050778dafc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadec1fd29e8c6b2f804fc4050778dafc8">&#9670;&nbsp;</a></span>HMAC_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HMAC_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HMAC command response packet size. </p>

</div>
</div>
<a id="gaee1a29942cf2b3637a65506dc6b5d4fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee1a29942cf2b3637a65506dc6b5d4fe">&#9670;&nbsp;</a></span>INFO_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info command packet size. </p>

</div>
</div>
<a id="ga9cc740e22e15f08a8b90873a2b3b47e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9cc740e22e15f08a8b90873a2b3b47e8">&#9670;&nbsp;</a></span>INFO_DRIVER_STATE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_DRIVER_STATE_MASK&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info driver state mask. </p>

</div>
</div>
<a id="ga30e8f8f4027e2137c11c2fb49b4c2aa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga30e8f8f4027e2137c11c2fb49b4c2aa6">&#9670;&nbsp;</a></span>INFO_MODE_GPIO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_GPIO&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode GPIO. </p>

</div>
</div>
<a id="ga6f746e9967643e3234727eaa5a0b274b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f746e9967643e3234727eaa5a0b274b">&#9670;&nbsp;</a></span>INFO_MODE_KEY_VALID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_KEY_VALID&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode KeyValid. </p>

</div>
</div>
<a id="ga249c12b69d65f6c33568c78b9d9b127d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga249c12b69d65f6c33568c78b9d9b127d">&#9670;&nbsp;</a></span>INFO_MODE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_MAX&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode maximum value. </p>

</div>
</div>
<a id="gae591dd29af805fc5b63e5b06d5e7c450"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae591dd29af805fc5b63e5b06d5e7c450">&#9670;&nbsp;</a></span>INFO_MODE_REVISION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_REVISION&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode Revision. </p>

</div>
</div>
<a id="ga7432ca6b291e32e962fabaa6d604a8bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7432ca6b291e32e962fabaa6d604a8bc">&#9670;&nbsp;</a></span>INFO_MODE_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_STATE&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode State. </p>

</div>
</div>
<a id="gac0fb0edb797b754a069e12931a001257"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac0fb0edb797b754a069e12931a001257">&#9670;&nbsp;</a></span>INFO_MODE_VOL_KEY_PERMIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_MODE_VOL_KEY_PERMIT&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode GPIO. </p>

</div>
</div>
<a id="gad5b035b6f65f87b7fdf75f225a54ce35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5b035b6f65f87b7fdf75f225a54ce35">&#9670;&nbsp;</a></span>INFO_NO_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_NO_STATE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info mode is not the state mode. </p>

</div>
</div>
<a id="ga2b70682af491ce76c45505cabafcf9c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b70682af491ce76c45505cabafcf9c0">&#9670;&nbsp;</a></span>INFO_OUTPUT_STATE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_OUTPUT_STATE_MASK&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info output state mask. </p>

</div>
</div>
<a id="ga9d72194dbe94bd2f5d3b0e9aa2dc85ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9d72194dbe94bd2f5d3b0e9aa2dc85ac">&#9670;&nbsp;</a></span>INFO_PARAM1_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_PARAM1_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info command index for 1. parameter. </p>

</div>
</div>
<a id="ga09e4830c78dedfa2ce662e0fdbe430e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga09e4830c78dedfa2ce662e0fdbe430e3">&#9670;&nbsp;</a></span>INFO_PARAM2_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_PARAM2_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info command index for 2. parameter. </p>

</div>
</div>
<a id="ga027d5e8ae4a55db4ae52a41f3214c861"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga027d5e8ae4a55db4ae52a41f3214c861">&#9670;&nbsp;</a></span>INFO_PARAM2_LATCH_CLEAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_PARAM2_LATCH_CLEAR&#160;&#160;&#160;((uint16_t)0x0000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info param2 to clear the persistent latch. </p>

</div>
</div>
<a id="gaae24f308513ed54fc7c41b39bc05760b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae24f308513ed54fc7c41b39bc05760b">&#9670;&nbsp;</a></span>INFO_PARAM2_LATCH_SET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_PARAM2_LATCH_SET&#160;&#160;&#160;((uint16_t)0x0001)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info param2 to set the persistent latch. </p>

</div>
</div>
<a id="ga5dcc70feddb0b97c6fa779c6c3c819e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5dcc70feddb0b97c6fa779c6c3c819e6">&#9670;&nbsp;</a></span>INFO_PARAM2_SET_LATCH_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_PARAM2_SET_LATCH_STATE&#160;&#160;&#160;((uint16_t)0x0002)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info param2 to set the persistent latch state. </p>

</div>
</div>
<a id="ga0c667e3f6590ac12726cbf4ad2b0f4f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c667e3f6590ac12726cbf4ad2b0f4f5">&#9670;&nbsp;</a></span>INFO_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga882f14cac02df8282ccad2a43afc8a23">ATCA_RSP_SIZE_VAL</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info command response packet size. </p>

</div>
</div>
<a id="ga70457c61d44fbac0cb48727f53c39388"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70457c61d44fbac0cb48727f53c39388">&#9670;&nbsp;</a></span>INFO_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INFO_SIZE&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Info return size. </p>

</div>
</div>
<a id="ga77a516ab645b681ad7861d8b74e4a115"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77a516ab645b681ad7861d8b74e4a115">&#9670;&nbsp;</a></span>KDF_DETAILS_AES_KEY_LOC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_AES_KEY_LOC_MASK&#160;&#160;&#160;((uint32_t)0x00000003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for AES, key location mask. </p>

</div>
</div>
<a id="gae2b34b443ce2e0f285dd8d6f34f84d70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2b34b443ce2e0f285dd8d6f34f84d70">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_MSG_LOC_INPUT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_MSG_LOC_INPUT&#160;&#160;&#160;((uint32_t)0x00000002)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, message location in input parameter. </p>

</div>
</div>
<a id="ga53650471a7eef96ce0ef00cb6b8a6a9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53650471a7eef96ce0ef00cb6b8a6a9b">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_MSG_LOC_IV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_MSG_LOC_IV&#160;&#160;&#160;((uint32_t)0x00000003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, message location is a special IV function. </p>

</div>
</div>
<a id="gaa5b4cb5be95861466fff33fe0d5a9020"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5b4cb5be95861466fff33fe0d5a9020">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_MSG_LOC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_MSG_LOC_MASK&#160;&#160;&#160;((uint32_t)0x00000003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, message location mask. </p>

</div>
</div>
<a id="ga8d5f52e7dbb1ea5308517365bbec87b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8d5f52e7dbb1ea5308517365bbec87b5">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_MSG_LOC_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_MSG_LOC_SLOT&#160;&#160;&#160;((uint32_t)0x00000000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, message location in slot. </p>

</div>
</div>
<a id="gabae30386c46658676cf11de7bec27138"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabae30386c46658676cf11de7bec27138">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_MSG_LOC_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_MSG_LOC_TEMPKEY&#160;&#160;&#160;((uint32_t)0x00000001)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, message location in TempKey. </p>

</div>
</div>
<a id="gae16e61d55b371f9c5e31f08f680de609"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae16e61d55b371f9c5e31f08f680de609">&#9670;&nbsp;</a></span>KDF_DETAILS_HKDF_ZERO_KEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_HKDF_ZERO_KEY&#160;&#160;&#160;((uint32_t)0x00000004)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for HKDF, key is 32 bytes of zero. </p>

</div>
</div>
<a id="ga56306fca73ae0f43053787bafdac6a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56306fca73ae0f43053787bafdac6a94">&#9670;&nbsp;</a></span>KDF_DETAILS_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF command index for details. </p>

</div>
</div>
<a id="ga71bd7b920718c3bbf99d78eda569018c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga71bd7b920718c3bbf99d78eda569018c">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_AEAD_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_AEAD_MASK&#160;&#160;&#160;((uint32_t)0x00000600)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, AEAD processing mask. </p>

</div>
</div>
<a id="ga77402cc8f4efbba6119bd57717c34ce4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77402cc8f4efbba6119bd57717c34ce4">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_AEAD_MODE0</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_AEAD_MODE0&#160;&#160;&#160;((uint32_t)0x00000000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, AEAD no processing. </p>

</div>
</div>
<a id="ga696c55d8590e9d1ac2571d6921f27573"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga696c55d8590e9d1ac2571d6921f27573">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_AEAD_MODE1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_AEAD_MODE1&#160;&#160;&#160;((uint32_t)0x00000200)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, AEAD First 32 go to target, second 32 go to output buffer. </p>

</div>
</div>
<a id="gaf83ceba3654b1b76e216402a023c1578"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf83ceba3654b1b76e216402a023c1578">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_KEY_LEN_16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_KEY_LEN_16&#160;&#160;&#160;((uint32_t)0x00000000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, source key length is 16 bytes. </p>

</div>
</div>
<a id="gaadcf0e639c6da291ddcb7fed49f1f967"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaadcf0e639c6da291ddcb7fed49f1f967">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_KEY_LEN_32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_KEY_LEN_32&#160;&#160;&#160;((uint32_t)0x00000001)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, source key length is 32 bytes. </p>

</div>
</div>
<a id="gaae92bdb9d72ad6bd2193cbf0e672d46e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae92bdb9d72ad6bd2193cbf0e672d46e">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_KEY_LEN_48</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_KEY_LEN_48&#160;&#160;&#160;((uint32_t)0x00000002)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, source key length is 48 bytes. </p>

</div>
</div>
<a id="ga1519bbd506095c4db25aad15bbc0735b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1519bbd506095c4db25aad15bbc0735b">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_KEY_LEN_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_KEY_LEN_64&#160;&#160;&#160;((uint32_t)0x00000003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, source key length is 64 bytes. </p>

</div>
</div>
<a id="gaf42b60e97bdf4bf0338b8a5ce420fdc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf42b60e97bdf4bf0338b8a5ce420fdc5">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_KEY_LEN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_KEY_LEN_MASK&#160;&#160;&#160;((uint32_t)0x00000003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, source key length mask. </p>

</div>
</div>
<a id="gac049629a826435702055cc8279db76bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac049629a826435702055cc8279db76bb">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_TARGET_LEN_32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_TARGET_LEN_32&#160;&#160;&#160;((uint32_t)0x00000000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, target length is 32 bytes. </p>

</div>
</div>
<a id="ga0b47a5e9928b7f3c91db64a9b80fde8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0b47a5e9928b7f3c91db64a9b80fde8b">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_TARGET_LEN_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_TARGET_LEN_64&#160;&#160;&#160;((uint32_t)0x00000100)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, target length is 64 bytes. </p>

</div>
</div>
<a id="ga32c642907f4f326893fb6fccfce18707"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga32c642907f4f326893fb6fccfce18707">&#9670;&nbsp;</a></span>KDF_DETAILS_PRF_TARGET_LEN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_PRF_TARGET_LEN_MASK&#160;&#160;&#160;((uint32_t)0x00000100)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details for PRF, target length mask. </p>

</div>
</div>
<a id="ga2e025044ab9693b267e79f80e0a69cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e025044ab9693b267e79f80e0a69cb1">&#9670;&nbsp;</a></span>KDF_DETAILS_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_DETAILS_SIZE&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF details (param3) size. </p>

</div>
</div>
<a id="gae814b4e63476d137bf226537cb2ff0fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae814b4e63476d137bf226537cb2ff0fc">&#9670;&nbsp;</a></span>KDF_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF command index for key id. </p>

</div>
</div>
<a id="ga7a57365768506315a6e3a6276508762c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7a57365768506315a6e3a6276508762c">&#9670;&nbsp;</a></span>KDF_MESSAGE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MESSAGE_IDX&#160;&#160;&#160;(<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a> + <a class="el" href="a03531.html#ga2e025044ab9693b267e79f80e0a69cb1">KDF_DETAILS_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gaee08925a21e8dbf05f8557617e3f610e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee08925a21e8dbf05f8557617e3f610e">&#9670;&nbsp;</a></span>KDF_MODE_ALG_AES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_ALG_AES&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode AES algorithm. </p>

</div>
</div>
<a id="ga59b230043c3cd1fa0deafac6225238cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga59b230043c3cd1fa0deafac6225238cb">&#9670;&nbsp;</a></span>KDF_MODE_ALG_HKDF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_ALG_HKDF&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode HKDF algorithm. </p>

</div>
</div>
<a id="ga90f529642e87edae132421b3777ec4b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga90f529642e87edae132421b3777ec4b1">&#9670;&nbsp;</a></span>KDF_MODE_ALG_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_ALG_MASK&#160;&#160;&#160;((uint8_t)0x60)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode algorithm mask. </p>

</div>
</div>
<a id="ga41ad765834ce2cf37241f79b80857f79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga41ad765834ce2cf37241f79b80857f79">&#9670;&nbsp;</a></span>KDF_MODE_ALG_PRF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_ALG_PRF&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode PRF algorithm. </p>

</div>
</div>
<a id="ga959e54d571acf81b608d5c6d535b0510"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga959e54d571acf81b608d5c6d535b0510">&#9670;&nbsp;</a></span>KDF_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF command index for mode. </p>

</div>
</div>
<a id="gaa3f4cdb700e47737058c174a1f156707"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa3f4cdb700e47737058c174a1f156707">&#9670;&nbsp;</a></span>KDF_MODE_SOURCE_ALTKEYBUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_SOURCE_ALTKEYBUF&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode source key in alternate key buffer. </p>

</div>
</div>
<a id="gaddd73b0088cc98d40eaf8b3370f2fc8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaddd73b0088cc98d40eaf8b3370f2fc8e">&#9670;&nbsp;</a></span>KDF_MODE_SOURCE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_SOURCE_MASK&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode source key mask. </p>

</div>
</div>
<a id="ga3b69501fcc3e0cea0197fc0f6107916a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b69501fcc3e0cea0197fc0f6107916a">&#9670;&nbsp;</a></span>KDF_MODE_SOURCE_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_SOURCE_SLOT&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode source key in a slot. </p>

</div>
</div>
<a id="ga43cad9606d9b7c0e5875b1fa66108eb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga43cad9606d9b7c0e5875b1fa66108eb8">&#9670;&nbsp;</a></span>KDF_MODE_SOURCE_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_SOURCE_TEMPKEY&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode source key in TempKey. </p>

</div>
</div>
<a id="ga3785654ccbe309a87213aedb001ca39d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3785654ccbe309a87213aedb001ca39d">&#9670;&nbsp;</a></span>KDF_MODE_SOURCE_TEMPKEY_UP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_SOURCE_TEMPKEY_UP&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode source key in upper TempKey. </p>

</div>
</div>
<a id="gafeaf2094813c3184f0f128c37e3297dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafeaf2094813c3184f0f128c37e3297dd">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_ALTKEYBUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_ALTKEYBUF&#160;&#160;&#160;((uint8_t)0x0C)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key in alternate key buffer. </p>

</div>
</div>
<a id="ga97828be629e8f11561b58cb434c18b21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97828be629e8f11561b58cb434c18b21">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_MASK&#160;&#160;&#160;((uint8_t)0x1C)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key mask. </p>

</div>
</div>
<a id="gafa19443ca4e054e38a7599c37575678d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa19443ca4e054e38a7599c37575678d">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_OUTPUT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_OUTPUT&#160;&#160;&#160;((uint8_t)0x10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key in output buffer. </p>

</div>
</div>
<a id="ga28cccb87be4305fa9469c26b0ca341e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga28cccb87be4305fa9469c26b0ca341e8">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_OUTPUT_ENC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_OUTPUT_ENC&#160;&#160;&#160;((uint8_t)0x14)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key encrypted in output buffer. </p>

</div>
</div>
<a id="ga05c0e401be347897d9573ba58492e570"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05c0e401be347897d9573ba58492e570">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_SLOT&#160;&#160;&#160;((uint8_t)0x08)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key in slot. </p>

</div>
</div>
<a id="gabdbb7fc88ccf13d556dce6de3df9ce1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabdbb7fc88ccf13d556dce6de3df9ce1b">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_TEMPKEY&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key in TempKey. </p>

</div>
</div>
<a id="gad7e0df789060db2a9e8339972eac2482"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad7e0df789060db2a9e8339972eac2482">&#9670;&nbsp;</a></span>KDF_MODE_TARGET_TEMPKEY_UP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define KDF_MODE_TARGET_TEMPKEY_UP&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>KDF mode target key in upper TempKey. </p>

</div>
</div>
<a id="ga8a5cce3cbccf46b91c8065559ad1a082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a5cce3cbccf46b91c8065559ad1a082">&#9670;&nbsp;</a></span>LOCK_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command packet size. </p>

</div>
</div>
<a id="ga773dce573d9ff453d2f49aa7fc48e210"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga773dce573d9ff453d2f49aa7fc48e210">&#9670;&nbsp;</a></span>LOCK_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command response packet size. </p>

</div>
</div>
<a id="ga6bd6b85614792b8dabb6432f7a48151e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6bd6b85614792b8dabb6432f7a48151e">&#9670;&nbsp;</a></span>LOCK_SUMMARY_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_SUMMARY_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command index for summary. </p>

</div>
</div>
<a id="gaabbc0da0b4fd66c3aa75ae0cc3a62e39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabbc0da0b4fd66c3aa75ae0cc3a62e39">&#9670;&nbsp;</a></span>LOCK_ZONE_CONFIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_CONFIG&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock zone is Config. </p>

</div>
</div>
<a id="ga1dedbfae86a6c38085070160696e00bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1dedbfae86a6c38085070160696e00bb">&#9670;&nbsp;</a></span>LOCK_ZONE_DATA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_DATA&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock zone is OTP or Data. </p>

</div>
</div>
<a id="gaf5a93b147dd08b111b348edd1bc82fa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5a93b147dd08b111b348edd1bc82fa5">&#9670;&nbsp;</a></span>LOCK_ZONE_DATA_SLOT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_DATA_SLOT&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock slot of Data. </p>

</div>
</div>
<a id="gaa72601de2238c09393f120f68abf66a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa72601de2238c09393f120f68abf66a4">&#9670;&nbsp;</a></span>LOCK_ZONE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command index for zone. </p>

</div>
</div>
<a id="ga71b3c35d021e0ac507fdd6cd9538467f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga71b3c35d021e0ac507fdd6cd9538467f">&#9670;&nbsp;</a></span>LOCK_ZONE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_MASK&#160;&#160;&#160;(0xBF)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock parameter 1 bits 6 are 0. </p>

</div>
</div>
<a id="ga29b582e5069538ee92f5bcd6d1356255"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga29b582e5069538ee92f5bcd6d1356255">&#9670;&nbsp;</a></span>LOCK_ZONE_NO_CRC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOCK_ZONE_NO_CRC&#160;&#160;&#160;((uint8_t)0x80)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lock command: Ignore summary. </p>

</div>
</div>
<a id="ga427e37c74bad23b251deb2274de6d703"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga427e37c74bad23b251deb2274de6d703">&#9670;&nbsp;</a></span>MAC_CHALLENGE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_CHALLENGE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command index for optional challenge. </p>

</div>
</div>
<a id="ga921afead5f0a35822bc8263c3a1e1761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga921afead5f0a35822bc8263c3a1e1761">&#9670;&nbsp;</a></span>MAC_CHALLENGE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_CHALLENGE_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC size of challenge. </p>

</div>
</div>
<a id="gaa466dfdf174c134a11f578d1731990ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa466dfdf174c134a11f578d1731990ef">&#9670;&nbsp;</a></span>MAC_COUNT_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_COUNT_LONG&#160;&#160;&#160;(39)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command packet size with challenge. </p>

</div>
</div>
<a id="ga94d9bf52f1a6c7af3943eb92dd3967ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga94d9bf52f1a6c7af3943eb92dd3967ef">&#9670;&nbsp;</a></span>MAC_COUNT_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_COUNT_SHORT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command packet size without challenge. </p>

</div>
</div>
<a id="gadb6b7f50e3d8af5d2de64f3bd4c83332"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb6b7f50e3d8af5d2de64f3bd4c83332">&#9670;&nbsp;</a></span>MAC_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command index for key id. </p>

</div>
</div>
<a id="ga1ed0d355896761d1cfef4d3b225fefae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ed0d355896761d1cfef4d3b225fefae">&#9670;&nbsp;</a></span>MAC_MODE_BLOCK1_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_BLOCK1_TEMPKEY&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 1: first SHA block from TempKey. </p>

</div>
</div>
<a id="gaaf599e8acc392c2ef07eba93eafc474d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaf599e8acc392c2ef07eba93eafc474d">&#9670;&nbsp;</a></span>MAC_MODE_BLOCK2_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_BLOCK2_TEMPKEY&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 0: second SHA block from TempKey. </p>

</div>
</div>
<a id="ga876298788a9270561dc279b7d4c92cb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga876298788a9270561dc279b7d4c92cb8">&#9670;&nbsp;</a></span>MAC_MODE_CHALLENGE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_CHALLENGE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode 0: first SHA block from data slot. </p>

</div>
</div>
<a id="ga4b1f89e4c4a24c058fddb3d936e76017"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4b1f89e4c4a24c058fddb3d936e76017">&#9670;&nbsp;</a></span>MAC_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command index for mode. </p>

</div>
</div>
<a id="ga0bd9324a824410d7787c6fcd6e29d8a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bd9324a824410d7787c6fcd6e29d8a2">&#9670;&nbsp;</a></span>MAC_MODE_INCLUDE_OTP_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_INCLUDE_OTP_64&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 5: include first 64 OTP bits. </p>

</div>
</div>
<a id="gae5da70c1f37ee40a0cf4edc459d5840a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae5da70c1f37ee40a0cf4edc459d5840a">&#9670;&nbsp;</a></span>MAC_MODE_INCLUDE_OTP_88</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_INCLUDE_OTP_88&#160;&#160;&#160;((uint8_t)0x10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 4: include first 88 OTP bits. </p>

</div>
</div>
<a id="gae2afa3244b7efc9ffd9a93dd6e5b71b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2afa3244b7efc9ffd9a93dd6e5b71b5">&#9670;&nbsp;</a></span>MAC_MODE_INCLUDE_SN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_INCLUDE_SN&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 6: include serial number. </p>

</div>
</div>
<a id="ga6e6b931cf58debb1a23b87c16c7b4d47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e6b931cf58debb1a23b87c16c7b4d47">&#9670;&nbsp;</a></span>MAC_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_MASK&#160;&#160;&#160;((uint8_t)0x77)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bits 3 and 7 are 0. </p>

</div>
</div>
<a id="ga41beaf29ad684f5fae6046c689d6bcf1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga41beaf29ad684f5fae6046c689d6bcf1">&#9670;&nbsp;</a></span>MAC_MODE_PASSTHROUGH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_PASSTHROUGH&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 0-2: pass-through mode. </p>

</div>
</div>
<a id="gafe14a4d41dbd21bb5cfdd9c17f22d2d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafe14a4d41dbd21bb5cfdd9c17f22d2d2">&#9670;&nbsp;</a></span>MAC_MODE_PTNONCE_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_PTNONCE_TEMPKEY&#160;&#160;&#160;((uint8_t)0x06)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 0: second SHA block from TempKey. </p>

</div>
</div>
<a id="gadffd78899cf3d3dd18afc5ce3c54acb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadffd78899cf3d3dd18afc5ce3c54acb4">&#9670;&nbsp;</a></span>MAC_MODE_SOURCE_FLAG_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_MODE_SOURCE_FLAG_MATCH&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC mode bit 2: match TempKey.SourceFlag. </p>

</div>
</div>
<a id="ga1e34a5e5e8b86355569f958ecbaff3d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e34a5e5e8b86355569f958ecbaff3d4">&#9670;&nbsp;</a></span>MAC_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC command response packet size. </p>

</div>
</div>
<a id="ga4c987156ced719bbcf398ab6c76289c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4c987156ced719bbcf398ab6c76289c0">&#9670;&nbsp;</a></span>MAC_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAC_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>MAC size of response. </p>

</div>
</div>
<a id="ga9a7fddf245cba834f86e0b63f2b14dc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a7fddf245cba834f86e0b63f2b14dc1">&#9670;&nbsp;</a></span>NONCE_COUNT_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_COUNT_LONG&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command packet size for 32 bytes of NumIn. </p>

</div>
</div>
<a id="gaaffdf30ca558bdd5f772578742835306"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaffdf30ca558bdd5f772578742835306">&#9670;&nbsp;</a></span>NONCE_COUNT_LONG_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_COUNT_LONG_64&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 64)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command packet size for 64 bytes of NumIn. </p>

</div>
</div>
<a id="gacff2b897c994e1444f8e94e638c25c74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacff2b897c994e1444f8e94e638c25c74">&#9670;&nbsp;</a></span>NONCE_COUNT_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_COUNT_SHORT&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + 20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command packet size for 20 bytes of NumIn. </p>

</div>
</div>
<a id="ga98721952094435f45bffa352dd6848ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98721952094435f45bffa352dd6848ad">&#9670;&nbsp;</a></span>NONCE_INPUT_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_INPUT_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga756539af7bcadf33dd3a9b2f60763f7a">ATCA_DATA_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command index for input data. </p>

</div>
</div>
<a id="ga97ca81334088c297c577f4b4aaced3cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga97ca81334088c297c577f4b4aaced3cf">&#9670;&nbsp;</a></span>NONCE_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command index for mode. </p>

</div>
</div>
<a id="gaf7ee0188ab539a350a6da19fe3f34a72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf7ee0188ab539a350a6da19fe3f34a72">&#9670;&nbsp;</a></span>NONCE_MODE_INPUT_LEN_32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_INPUT_LEN_32&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: input size is 32 bytes. </p>

</div>
</div>
<a id="ga54f085984c6aaf826263a755fd3243d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54f085984c6aaf826263a755fd3243d7">&#9670;&nbsp;</a></span>NONCE_MODE_INPUT_LEN_64</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_INPUT_LEN_64&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: input size is 64 bytes. </p>

</div>
</div>
<a id="gad83ef570608a572d2dd99e6954e14d40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad83ef570608a572d2dd99e6954e14d40">&#9670;&nbsp;</a></span>NONCE_MODE_INPUT_LEN_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_INPUT_LEN_MASK&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: input size mask. </p>

</div>
</div>
<a id="ga7c675071c7fd650a29594c5fcc9882a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7c675071c7fd650a29594c5fcc9882a1">&#9670;&nbsp;</a></span>NONCE_MODE_INVALID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_INVALID&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode 2 is invalid. </p>

</div>
</div>
<a id="ga98be7c54d55328daa4390a816c9bb243"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga98be7c54d55328daa4390a816c9bb243">&#9670;&nbsp;</a></span>NONCE_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_MASK&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode bits 2 to 7 are 0. </p>

</div>
</div>
<a id="gae3f2d180d7f35d9a7876a28972f2f587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae3f2d180d7f35d9a7876a28972f2f587">&#9670;&nbsp;</a></span>NONCE_MODE_NO_SEED_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_NO_SEED_UPDATE&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: do not update seed. </p>

</div>
</div>
<a id="ga6132b175668ba4d6efecca5986c007c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6132b175668ba4d6efecca5986c007c0">&#9670;&nbsp;</a></span>NONCE_MODE_PASSTHROUGH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_PASSTHROUGH&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: pass-through. </p>

</div>
</div>
<a id="ga798018a4ef489e8fb0a02b5edf7e9d55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga798018a4ef489e8fb0a02b5edf7e9d55">&#9670;&nbsp;</a></span>NONCE_MODE_SEED_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_SEED_UPDATE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: update seed. </p>

</div>
</div>
<a id="ga8ad263b7b321311a57db7600f18a555f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ad263b7b321311a57db7600f18a555f">&#9670;&nbsp;</a></span>NONCE_MODE_TARGET_ALTKEYBUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_TARGET_ALTKEYBUF&#160;&#160;&#160;((uint8_t)0x80)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: target is Alternate Key Buffer. </p>

</div>
</div>
<a id="gab887d70e4a421cf2bcab6b77feba4134"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab887d70e4a421cf2bcab6b77feba4134">&#9670;&nbsp;</a></span>NONCE_MODE_TARGET_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_TARGET_MASK&#160;&#160;&#160;((uint8_t)0xC0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: target mask. </p>

</div>
</div>
<a id="ga071a95b4b2048e0d879e6e13984e38fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga071a95b4b2048e0d879e6e13984e38fd">&#9670;&nbsp;</a></span>NONCE_MODE_TARGET_MSGDIGBUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_TARGET_MSGDIGBUF&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: target is Message Digest Buffer. </p>

</div>
</div>
<a id="gac51f4a863e071bce52c995ddae7e2144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac51f4a863e071bce52c995ddae7e2144">&#9670;&nbsp;</a></span>NONCE_MODE_TARGET_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_MODE_TARGET_TEMPKEY&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce mode: target is TempKey. </p>

</div>
</div>
<a id="gad0c3da8203a3be6755e86cda96e00228"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0c3da8203a3be6755e86cda96e00228">&#9670;&nbsp;</a></span>NONCE_NUMIN_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_NUMIN_SIZE&#160;&#160;&#160;(20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce NumIn size for random modes. </p>

</div>
</div>
<a id="gab568e0ec9f976d91d7940c227e8d73ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab568e0ec9f976d91d7940c227e8d73ee">&#9670;&nbsp;</a></span>NONCE_NUMIN_SIZE_PASSTHROUGH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_NUMIN_SIZE_PASSTHROUGH&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce NumIn size for 32-byte pass-through mode. </p>

</div>
</div>
<a id="gaabd0af10b17e4e1c4bf7a4cfd3cca1f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabd0af10b17e4e1c4bf7a4cfd3cca1f0">&#9670;&nbsp;</a></span>NONCE_PARAM2_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_PARAM2_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command index for 2. parameter. </p>

</div>
</div>
<a id="ga7ae9dcc07ca9d990e9db6d8949ac935a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ae9dcc07ca9d990e9db6d8949ac935a">&#9670;&nbsp;</a></span>NONCE_RSP_SIZE_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_RSP_SIZE_LONG&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command response packet size with output. </p>

</div>
</div>
<a id="ga2ecf97f43e4b2fbe3f329bb7c8e3b675"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2ecf97f43e4b2fbe3f329bb7c8e3b675">&#9670;&nbsp;</a></span>NONCE_RSP_SIZE_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_RSP_SIZE_SHORT&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce command response packet size with no output. </p>

</div>
</div>
<a id="ga99bca33105a872e8a20fe199cc17219b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga99bca33105a872e8a20fe199cc17219b">&#9670;&nbsp;</a></span>NONCE_ZERO_CALC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_ZERO_CALC_MASK&#160;&#160;&#160;((uint16_t)0x8000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce zero (param2): calculation mode mask. </p>

</div>
</div>
<a id="ga80b8b54f333be5a587f22e2d04812de6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga80b8b54f333be5a587f22e2d04812de6">&#9670;&nbsp;</a></span>NONCE_ZERO_CALC_RANDOM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_ZERO_CALC_RANDOM&#160;&#160;&#160;((uint16_t)0x0000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce zero (param2): calculation mode random, use RNG in calculation and return RNG output. </p>

</div>
</div>
<a id="ga2a2b74db24609199702267614fc31990"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2a2b74db24609199702267614fc31990">&#9670;&nbsp;</a></span>NONCE_ZERO_CALC_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NONCE_ZERO_CALC_TEMPKEY&#160;&#160;&#160;((uint16_t)0x8000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Nonce zero (param2): calculation mode TempKey, use TempKey in calculation and return new TempKey value. </p>

</div>
</div>
<a id="gad742aca4fbd1b833423eeb7ce90a6743"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad742aca4fbd1b833423eeb7ce90a6743">&#9670;&nbsp;</a></span>OUTNONCE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OUTNONCE_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of the OutNonce response expected from several commands. </p>

</div>
</div>
<a id="gaa914251d0e03f7d1850ee04296715f14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa914251d0e03f7d1850ee04296715f14">&#9670;&nbsp;</a></span>PAUSE_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAUSE_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause command packet size. </p>

</div>
</div>
<a id="gad74ed86697c0977d4e0a2451068b7131"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad74ed86697c0977d4e0a2451068b7131">&#9670;&nbsp;</a></span>PAUSE_PARAM2_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAUSE_PARAM2_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause command index for 2. parameter. </p>

</div>
</div>
<a id="ga5859f9a2eb99b4636c894705047e9344"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5859f9a2eb99b4636c894705047e9344">&#9670;&nbsp;</a></span>PAUSE_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAUSE_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause command response packet size. </p>

</div>
</div>
<a id="ga49f538b630cc416a8ad1f6d784e3a1e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49f538b630cc416a8ad1f6d784e3a1e4">&#9670;&nbsp;</a></span>PAUSE_SELECT_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAUSE_SELECT_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause command index for Selector. </p>

</div>
</div>
<a id="ga17980d6743441fa2afd71523006ae058"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17980d6743441fa2afd71523006ae058">&#9670;&nbsp;</a></span>PRIVWRITE_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_COUNT&#160;&#160;&#160;(75)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command packet size. </p>

</div>
</div>
<a id="ga4aa5b68bbd7847f53444608615653832"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4aa5b68bbd7847f53444608615653832">&#9670;&nbsp;</a></span>PRIVWRITE_KEYID_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_KEYID_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command index for KeyID. </p>

</div>
</div>
<a id="ga20afccf35c609f05a3d7dc70687baa2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20afccf35c609f05a3d7dc70687baa2e">&#9670;&nbsp;</a></span>PRIVWRITE_MAC_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_MAC_IDX&#160;&#160;&#160;(41)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command index for MAC. </p>

</div>
</div>
<a id="gafa24177621a8a2fbe041ef0ce73a414d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa24177621a8a2fbe041ef0ce73a414d">&#9670;&nbsp;</a></span>PRIVWRITE_MODE_ENCRYPT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_MODE_ENCRYPT&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite mode: encrypted. </p>

</div>
</div>
<a id="gaa66ad8429261c1ba13d064d660d6d464"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa66ad8429261c1ba13d064d660d6d464">&#9670;&nbsp;</a></span>PRIVWRITE_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command response packet size. </p>

</div>
</div>
<a id="gab65b17098ebc6027a9240ca84c07ab5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab65b17098ebc6027a9240ca84c07ab5c">&#9670;&nbsp;</a></span>PRIVWRITE_VALUE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_VALUE_IDX&#160;&#160;&#160;( 5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command index for value. </p>

</div>
</div>
<a id="ga376a70cf087e157cbb914d9ca2e5b989"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga376a70cf087e157cbb914d9ca2e5b989">&#9670;&nbsp;</a></span>PRIVWRITE_ZONE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_ZONE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite command index for zone. </p>

</div>
</div>
<a id="gaba7cf525ec69429e947f294361e1cdab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba7cf525ec69429e947f294361e1cdab">&#9670;&nbsp;</a></span>PRIVWRITE_ZONE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PRIVWRITE_ZONE_MASK&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>PrivWrite zone bits 0 to 5 and 7 are 0. </p>

</div>
</div>
<a id="gae91d272f84bc3ad357ff6ed2e9c9a6b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae91d272f84bc3ad357ff6ed2e9c9a6b0">&#9670;&nbsp;</a></span>RANDOM_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random command packet size. </p>

</div>
</div>
<a id="gac846e3f7c924497d70254125dae38dce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac846e3f7c924497d70254125dae38dce">&#9670;&nbsp;</a></span>RANDOM_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random command index for mode. </p>

</div>
</div>
<a id="ga444d3fe4302ca95080d919dc89b1bc52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga444d3fe4302ca95080d919dc89b1bc52">&#9670;&nbsp;</a></span>RANDOM_NO_SEED_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_NO_SEED_UPDATE&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random mode for no seed update. </p>

</div>
</div>
<a id="ga2197c0ad6c0fbf1c801228de9bf0d2ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2197c0ad6c0fbf1c801228de9bf0d2ab">&#9670;&nbsp;</a></span>RANDOM_NUM_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_NUM_SIZE&#160;&#160;&#160;((uint8_t)32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bytes in the data packet of a random command. </p>

</div>
</div>
<a id="ga3f54bd6d53a687ae3660196497e8faa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3f54bd6d53a687ae3660196497e8faa1">&#9670;&nbsp;</a></span>RANDOM_PARAM2_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_PARAM2_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random command index for 2. parameter. </p>

</div>
</div>
<a id="gaeb7623b070997b65f0bb108abf8e5f44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb7623b070997b65f0bb108abf8e5f44">&#9670;&nbsp;</a></span>RANDOM_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random command response packet size. </p>

</div>
</div>
<a id="gaf12673d4006ff926c863b2d0f9038561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf12673d4006ff926c863b2d0f9038561">&#9670;&nbsp;</a></span>RANDOM_SEED_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RANDOM_SEED_UPDATE&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Random mode for automatic seed update. </p>

</div>
</div>
<a id="gad79706b7b1e6c0e0d29afe692d8d5c06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad79706b7b1e6c0e0d29afe692d8d5c06">&#9670;&nbsp;</a></span>READ_32_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_32_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command response packet size when reading 32 bytes. </p>

</div>
</div>
<a id="ga041cfaec382d0a67dcfe36d43332da48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga041cfaec382d0a67dcfe36d43332da48">&#9670;&nbsp;</a></span>READ_4_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_4_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga882f14cac02df8282ccad2a43afc8a23">ATCA_RSP_SIZE_VAL</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command response packet size when reading 4 bytes. </p>

</div>
</div>
<a id="gaf9f464ac4065aff75f5967933725d665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9f464ac4065aff75f5967933725d665">&#9670;&nbsp;</a></span>READ_ADDR_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_ADDR_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga9e84a71fc7e3ba613779aeb8d740eb23">ATCA_PARAM2_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command index for address. </p>

</div>
</div>
<a id="gad222baf9301d2d35a5c928a0d91c4335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad222baf9301d2d35a5c928a0d91c4335">&#9670;&nbsp;</a></span>READ_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command packet size. </p>

</div>
</div>
<a id="gae273cfc99b8538b3c81ba8240a6ff425"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae273cfc99b8538b3c81ba8240a6ff425">&#9670;&nbsp;</a></span>READ_ZONE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_ZONE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read command index for zone. </p>

</div>
</div>
<a id="gacf9c81ae1249f3c174ec75cf65517176"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacf9c81ae1249f3c174ec75cf65517176">&#9670;&nbsp;</a></span>READ_ZONE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define READ_ZONE_MASK&#160;&#160;&#160;((uint8_t)0x83)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read zone bits 2 to 6 are 0. </p>

</div>
</div>
<a id="gaeb3783d1cdf4f9c1217d030bc0386fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb3783d1cdf4f9c1217d030bc0386fad">&#9670;&nbsp;</a></span>RSA2048_KEY_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RSA2048_KEY_SIZE&#160;&#160;&#160;(256)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>size of a RSA private key </p>

</div>
</div>
<a id="ga4d6eb2ea4f3b5be450c0579f75fc7f6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d6eb2ea4f3b5be450c0579f75fc7f6e">&#9670;&nbsp;</a></span>SECUREBOOT_COUNT_DIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_COUNT_DIG&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga9257968de99742ec468463a72588820f">SECUREBOOT_DIGEST_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot command packet size for just a digest. </p>

</div>
</div>
<a id="gabd28a29107703b43a734301acf491f5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd28a29107703b43a734301acf491f5c">&#9670;&nbsp;</a></span>SECUREBOOT_COUNT_DIG_SIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_COUNT_DIG_SIG&#160;&#160;&#160;(<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a> + <a class="el" href="a03531.html#ga9257968de99742ec468463a72588820f">SECUREBOOT_DIGEST_SIZE</a> + <a class="el" href="a03531.html#ga51bd4fe709f11b3b50f47c2fb18976ca">SECUREBOOT_SIGNATURE_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot command packet size for a digest and signature. </p>

</div>
</div>
<a id="ga9257968de99742ec468463a72588820f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9257968de99742ec468463a72588820f">&#9670;&nbsp;</a></span>SECUREBOOT_DIGEST_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_DIGEST_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot digest input size. </p>

</div>
</div>
<a id="gaed2edebc2be522d7bb38f85d273406f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaed2edebc2be522d7bb38f85d273406f9">&#9670;&nbsp;</a></span>SECUREBOOT_MAC_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MAC_SIZE&#160;&#160;&#160;(32)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot MAC output size. </p>

</div>
</div>
<a id="gabf2bad62bab02224f51d67f6725575a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabf2bad62bab02224f51d67f6725575a4">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_ENC_MAC_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_ENC_MAC_FLAG&#160;&#160;&#160;((uint8_t)0x80)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode flag for encrypted digest and returning validating MAC. </p>

</div>
</div>
<a id="ga122f4b7b9f1011c04385a7caccc2d536"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga122f4b7b9f1011c04385a7caccc2d536">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_FULL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_FULL&#160;&#160;&#160;((uint8_t)0x05)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode Full. </p>

</div>
</div>
<a id="ga3d287922c127b599204ea3bc64d4a825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d287922c127b599204ea3bc64d4a825">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_FULL_COPY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_FULL_COPY&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode FullCopy. </p>

</div>
</div>
<a id="ga2aac76b15694b82fda038e127d152297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2aac76b15694b82fda038e127d152297">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_FULL_STORE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_FULL_STORE&#160;&#160;&#160;((uint8_t)0x06)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode FullStore. </p>

</div>
</div>
<a id="ga7ff1918de6f8238ba4f67d9368e3587d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7ff1918de6f8238ba4f67d9368e3587d">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot command index for mode. </p>

</div>
</div>
<a id="gaac36b471fe92c252dd02a9d1cc2c65e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac36b471fe92c252dd02a9d1cc2c65e2">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_MASK&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode mask. </p>

</div>
</div>
<a id="ga2d04ced68d56c0db40b93b767de02089"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2d04ced68d56c0db40b93b767de02089">&#9670;&nbsp;</a></span>SECUREBOOT_MODE_PROHIBIT_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_MODE_PROHIBIT_FLAG&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot mode flag to prohibit SecureBoot until next power cycle. </p>

</div>
</div>
<a id="ga3db7049de685080f046f0b4221de461b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3db7049de685080f046f0b4221de461b">&#9670;&nbsp;</a></span>SECUREBOOT_RSP_SIZE_MAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_RSP_SIZE_MAC&#160;&#160;&#160;(<a class="el" href="a03531.html#gaa569255bc251cd90cb2d0f6b710164bc">ATCA_PACKET_OVERHEAD</a> + <a class="el" href="a03531.html#gaed2edebc2be522d7bb38f85d273406f9">SECUREBOOT_MAC_SIZE</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot response packet size with MAC. </p>

</div>
</div>
<a id="gab4657866a69a00b9b3bfa4df51521fa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4657866a69a00b9b3bfa4df51521fa6">&#9670;&nbsp;</a></span>SECUREBOOT_RSP_SIZE_NO_MAC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_RSP_SIZE_NO_MAC&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot response packet size for no MAC. </p>

</div>
</div>
<a id="ga51bd4fe709f11b3b50f47c2fb18976ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga51bd4fe709f11b3b50f47c2fb18976ca">&#9670;&nbsp;</a></span>SECUREBOOT_SIGNATURE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOT_SIGNATURE_SIZE&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBoot signature input size. </p>

</div>
</div>
<a id="ga76bf5d4ce89c95c658328fe8e66669e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga76bf5d4ce89c95c658328fe8e66669e7">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_MODE_DISABLED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_MODE_DISABLED&#160;&#160;&#160;((uint16_t)0x0000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disabled SecureBootMode in SecureBootConfig value. </p>

</div>
</div>
<a id="ga2b86bf6731827368bf66eec960c35a32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b86bf6731827368bf66eec960c35a32">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_MODE_FULL_BOTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_MODE_FULL_BOTH&#160;&#160;&#160;((uint16_t)0x0001)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Both digest and signature always required SecureBootMode in SecureBootConfig value. </p>

</div>
</div>
<a id="ga9b7c3aca6168b52321e1951893efa050"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9b7c3aca6168b52321e1951893efa050">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_MODE_FULL_DIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_MODE_FULL_DIG&#160;&#160;&#160;((uint16_t)0x0003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Digest stored SecureBootMode in SecureBootConfig value. </p>

</div>
</div>
<a id="ga43bb6027c548274980a3ba42bdef51c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga43bb6027c548274980a3ba42bdef51c9">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_MODE_FULL_SIG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_MODE_FULL_SIG&#160;&#160;&#160;((uint16_t)0x0002)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Signature stored SecureBootMode in SecureBootConfig value. </p>

</div>
</div>
<a id="ga0c9c951895abf02992e41c617702c2ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0c9c951895abf02992e41c617702c2ea">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_MODE_MASK&#160;&#160;&#160;((uint16_t)0x0003)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mask for SecureBootMode field in SecureBootConfig value. </p>

</div>
</div>
<a id="gad10e2a3c801be9002d53af14357dbe9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad10e2a3c801be9002d53af14357dbe9f">&#9670;&nbsp;</a></span>SECUREBOOTCONFIG_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SECUREBOOTCONFIG_OFFSET&#160;&#160;&#160;(70)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SecureBootConfig byte offset into the configuration zone. </p>

</div>
</div>
<a id="ga2aba96712a9932d61146c43289e9d808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2aba96712a9932d61146c43289e9d808">&#9670;&nbsp;</a></span>SELFTEST_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_COUNT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest command packet size. </p>

</div>
</div>
<a id="ga91ebd87544ccdab3670cfbec8d23bd4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91ebd87544ccdab3670cfbec8d23bd4a">&#9670;&nbsp;</a></span>SELFTEST_MODE_AES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_AES&#160;&#160;&#160;((uint8_t)0x10)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode AES encrypt function. </p>

</div>
</div>
<a id="ga1ef61cb184d3ff5ef2f8bf9db6521888"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ef61cb184d3ff5ef2f8bf9db6521888">&#9670;&nbsp;</a></span>SELFTEST_MODE_ALL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_ALL&#160;&#160;&#160;((uint8_t)0x3B)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode all algorithms. </p>

</div>
</div>
<a id="ga01d7437a14fd35ccc926168fb4ca2ca7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga01d7437a14fd35ccc926168fb4ca2ca7">&#9670;&nbsp;</a></span>SELFTEST_MODE_ECDH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_ECDH&#160;&#160;&#160;((uint8_t)0x08)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode ECDH function. </p>

</div>
</div>
<a id="gafbd09beedecedcf316a6c02e40d1e712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafbd09beedecedcf316a6c02e40d1e712">&#9670;&nbsp;</a></span>SELFTEST_MODE_ECDSA_SIGN_VERIFY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_ECDSA_SIGN_VERIFY&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode ECDSA verify function. </p>

</div>
</div>
<a id="gaa16bfad9cb883d258befaacadb3385ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa16bfad9cb883d258befaacadb3385ef">&#9670;&nbsp;</a></span>SELFTEST_MODE_IDX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_IDX&#160;&#160;&#160;<a class="el" href="a03531.html#ga090c04fed9d153a97fb77195c7eb2f56">ATCA_PARAM1_IDX</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest command index for mode. </p>

</div>
</div>
<a id="gacd9a7a2257f664a4f9f674d37eb95bef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd9a7a2257f664a4f9f674d37eb95bef">&#9670;&nbsp;</a></span>SELFTEST_MODE_RNG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_RNG&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode RNG DRBG function. </p>

</div>
</div>
<a id="gafab9546447cf1e0020c32d298a1d897f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafab9546447cf1e0020c32d298a1d897f">&#9670;&nbsp;</a></span>SELFTEST_MODE_SHA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_MODE_SHA&#160;&#160;&#160;((uint8_t)0x20)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest mode SHA function. </p>

</div>
</div>
<a id="ga7599639f80f3ac2a0d22f2857138cb87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7599639f80f3ac2a0d22f2857138cb87">&#9670;&nbsp;</a></span>SELFTEST_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SELFTEST_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SelfTest command response packet size. </p>

</div>
</div>
<a id="ga3d37a5da1c43d44e49c4e6614d133c7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d37a5da1c43d44e49c4e6614d133c7e">&#9670;&nbsp;</a></span>SHA_CONTEXT_MAX_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_CONTEXT_MAX_SIZE&#160;&#160;&#160;(99)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gada37181a648dd51b374eec1cbb4bbaa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada37181a648dd51b374eec1cbb4bbaa3">&#9670;&nbsp;</a></span>SHA_COUNT_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_COUNT_LONG&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Just a starting size. </p>

</div>
</div>
<a id="ga49e390c29b6fc05df227604c169b86b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49e390c29b6fc05df227604c169b86b0">&#9670;&nbsp;</a></span>SHA_COUNT_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_COUNT_SHORT&#160;&#160;&#160;<a class="el" href="a03531.html#gac978ae798bc2c020c7b8a2e5a258016e">ATCA_CMD_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="gad89ca95de067d12cd2f35a60b0e997b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad89ca95de067d12cd2f35a60b0e997b1">&#9670;&nbsp;</a></span>SHA_DATA_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_DATA_MAX&#160;&#160;&#160;(64)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ga625604e07a0618bd7d514faee5e42fba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga625604e07a0618bd7d514faee5e42fba">&#9670;&nbsp;</a></span>SHA_MODE_608_HMAC_END</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_608_HMAC_END&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Complete the HMAC computation and return digest... Different command on 608. </p>

</div>
</div>
<a id="gaeb307ed9134e0fa2f0fcbdaf7b01515d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb307ed9134e0fa2f0fcbdaf7b01515d">&#9670;&nbsp;</a></span>SHA_MODE_HMAC_END</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_HMAC_END&#160;&#160;&#160;((uint8_t)0x05)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Complete the HMAC computation and return digest. </p>

</div>
</div>
<a id="gabbfeec0d0247336b8c6e993d4db17d11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabbfeec0d0247336b8c6e993d4db17d11">&#9670;&nbsp;</a></span>SHA_MODE_HMAC_START</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_HMAC_START&#160;&#160;&#160;((uint8_t)0x04)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialization, HMAC calculation. </p>

</div>
</div>
<a id="ga2071156124a692a5f2a5c764c923f731"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2071156124a692a5f2a5c764c923f731">&#9670;&nbsp;</a></span>SHA_MODE_HMAC_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_HMAC_UPDATE&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add 64 bytes in the meesage to the SHA context. </p>

</div>
</div>
<a id="ga612cbf6171e9a0a176e0bd2844f49528"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga612cbf6171e9a0a176e0bd2844f49528">&#9670;&nbsp;</a></span>SHA_MODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_MASK&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mask the bit 0-2. </p>

</div>
</div>
<a id="gac7e5a54695b8bd9e5087ebb94df70b39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac7e5a54695b8bd9e5087ebb94df70b39">&#9670;&nbsp;</a></span>SHA_MODE_READ_CONTEXT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_READ_CONTEXT&#160;&#160;&#160;((uint8_t)0x06)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read current SHA-256 context out of the device. </p>

</div>
</div>
<a id="ga0e98e55c91c7559f57fdef4c9969c188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0e98e55c91c7559f57fdef4c9969c188">&#9670;&nbsp;</a></span>SHA_MODE_SHA256_END</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_SHA256_END&#160;&#160;&#160;((uint8_t)0x02)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Complete the calculation and return the digest. </p>

</div>
</div>
<a id="ga0f2fc749d3d196477b22cbceee856dfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f2fc749d3d196477b22cbceee856dfb">&#9670;&nbsp;</a></span>SHA_MODE_SHA256_PUBLIC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_SHA256_PUBLIC&#160;&#160;&#160;((uint8_t)0x03)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add 64 byte ECC public key in the slot to the SHA context. </p>

</div>
</div>
<a id="gad42195362cd7dca0acabc8739c9a6fc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad42195362cd7dca0acabc8739c9a6fc4">&#9670;&nbsp;</a></span>SHA_MODE_SHA256_START</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_SHA256_START&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialization, does not accept a message. </p>

</div>
</div>
<a id="ga05ece414a0596ec9bb75c0ca8ca731dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga05ece414a0596ec9bb75c0ca8ca731dc">&#9670;&nbsp;</a></span>SHA_MODE_SHA256_UPDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_SHA256_UPDATE&#160;&#160;&#160;((uint8_t)0x01)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add 64 bytes in the meesage to the SHA context. </p>

</div>
</div>
<a id="ga70f88a123587c96ad7affc1e5dae9002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70f88a123587c96ad7affc1e5dae9002">&#9670;&nbsp;</a></span>SHA_MODE_TARGET_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_TARGET_MASK&#160;&#160;&#160;((uint8_t)0xC0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resulting digest target location mask. </p>

</div>
</div>
<a id="gae559b402c678cc51f8252b927b8781e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae559b402c678cc51f8252b927b8781e5">&#9670;&nbsp;</a></span>SHA_MODE_TARGET_MSGDIGBUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_TARGET_MSGDIGBUF&#160;&#160;&#160;((uint8_t)0x40)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Place resulting digest both in Output buffer and Message Digest Buffer. </p>

</div>
</div>
<a id="gae0df4b9151bb3d807bc1c532036c6d88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0df4b9151bb3d807bc1c532036c6d88">&#9670;&nbsp;</a></span>SHA_MODE_TARGET_OUT_ONLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_TARGET_OUT_ONLY&#160;&#160;&#160;((uint8_t)0xC0)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Place resulting digest both in Output buffer ONLY. </p>

</div>
</div>
<a id="ga850ec56b408fccccaea5826d452c3a64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga850ec56b408fccccaea5826d452c3a64">&#9670;&nbsp;</a></span>SHA_MODE_TARGET_TEMPKEY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_TARGET_TEMPKEY&#160;&#160;&#160;((uint8_t)0x00)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Place resulting digest both in Output buffer and TempKey. </p>

</div>
</div>
<a id="ga7b7c499931480a88f6a106644c3d2185"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7b7c499931480a88f6a106644c3d2185">&#9670;&nbsp;</a></span>SHA_MODE_WRITE_CONTEXT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_MODE_WRITE_CONTEXT&#160;&#160;&#160;((uint8_t)0x07)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restore a SHA-256 context into the device. </p>

</div>
</div>
<a id="ga8a5a586bdb0194be827417658836bf9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a5a586bdb0194be827417658836bf9c">&#9670;&nbsp;</a></span>SHA_RSP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_RSP_SIZE&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA command response packet size. </p>

</div>
</div>
<a id="gae5ad3c81d0b62f4b86a4a0dc84a79134"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae5ad3c81d0b62f4b86a4a0dc84a79134">&#9670;&nbsp;</a></span>SHA_RSP_SIZE_LONG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_RSP_SIZE_LONG&#160;&#160;&#160;<a class="el" href="a03531.html#gafd812ab5b70a92a4d3a420c4f7106ac5">ATCA_RSP_SIZE_32</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA command response packet size. </p>

</div>
</div>
<a id="ga74490b179b34f9925e9fe00675e53713"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74490b179b34f9925e9fe00675e53713">&#9670;&nbsp;</a></span>SHA_RSP_SIZE_SHORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SHA_RSP_SIZE_SHORT&#160;&#160;&#160;<a class="el" href="a03531.html#ga0c738f2cc7bf063582c34188f85ddc3c">ATCA_RSP_SIZE_MIN</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SHA command response packet size only status code. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="gaebeafc249bfe2b00b6809d5c328841d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaebeafc249bfe2b00b6809d5c328841d9">&#9670;&nbsp;</a></span>ATCACommand</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="a03543.html">atca_command</a>* <a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga17ffd71c28597552f5c4517096ef1fb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17ffd71c28597552f5c4517096ef1fb8">&#9670;&nbsp;</a></span>atAES()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atAES </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand AES method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga54460acd927854db5d39d6d5c3e8ed7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54460acd927854db5d39d6d5c3e8ed7c">&#9670;&nbsp;</a></span>atCalcCrc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void atCalcCrc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function calculates CRC and adds it to the correct offset in the packet data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>Packet to calculate CRC data for </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7723a58d1781b3ba54e8f45d5729b33a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7723a58d1781b3ba54e8f45d5729b33a">&#9670;&nbsp;</a></span>atCheckCrc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atCheckCrc </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function checks the consistency of a response. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">response</td><td>pointer to response </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise ATCA_RX_CRC_ERROR </dd></dl>

</div>
</div>
<a id="gae82a969d437b648238fe1c1ddbd51196"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae82a969d437b648238fe1c1ddbd51196">&#9670;&nbsp;</a></span>atCheckMAC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atCheckMAC </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand CheckMAC method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga8a61451b473025766f0b8aaf8cbe8878"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a61451b473025766f0b8aaf8cbe8878">&#9670;&nbsp;</a></span>atCounter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atCounter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Counter method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="ga53ded4ed630b6ef4d292056c2e6b34f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53ded4ed630b6ef4d292056c2e6b34f6">&#9670;&nbsp;</a></span>atCRC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void atCRC </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>crc_le</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates CRC over the given raw data and returns the CRC in little-endian byte order. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>Size of data not including the CRC byte positions </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Pointer to the data over which to compute the CRC </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">crc_le</td><td>Pointer to the place where the two-bytes of CRC will be returned in little-endian byte order. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8e8e14d6ac01e36f5c62568a6203e158"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e8e14d6ac01e36f5c62568a6203e158">&#9670;&nbsp;</a></span>atDeriveKey()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atDeriveKey </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_mac</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand DeriveKey method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">has_mac</td><td>hasMAC determines if MAC data is present in the packet input </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga5460e5bb2178eb95a3b8db8018d30617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5460e5bb2178eb95a3b8db8018d30617">&#9670;&nbsp;</a></span>atECDH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atECDH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand ECDH method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga96b33dc28e87b1c1855b7f828a89594b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga96b33dc28e87b1c1855b7f828a89594b">&#9670;&nbsp;</a></span>atGenDig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atGenDig </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_no_mac_key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Generate Digest method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">is_no_mac_key</td><td>Should be true if GenDig is being run on a slot that has its SlotConfig.NoMac bit set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gaba4a495c2021c837c6de4cdeaaf64813"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaba4a495c2021c837c6de4cdeaaf64813">&#9670;&nbsp;</a></span>atGenKey()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atGenKey </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Generate Key method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga31f11cb28f4aaf6c654e92e7c5176814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga31f11cb28f4aaf6c654e92e7c5176814">&#9670;&nbsp;</a></span>atHMAC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atHMAC </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand HMAC method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gaf5b69354b7f33537f2ffef3376843a15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5b69354b7f33537f2ffef3376843a15">&#9670;&nbsp;</a></span>atInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atInfo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Info method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gae82dca54cc3fd1cc2f1671e98d64df07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae82dca54cc3fd1cc2f1671e98d64df07">&#9670;&nbsp;</a></span>atIsECCFamily()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool atIsECCFamily </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a>&#160;</td>
          <td class="paramname"><em>device_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>determines if a given device type is an ECC device or a superset of a ECC device </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">device_type</td><td>Type of device to check for family type </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>boolean indicating whether the given device is an ECC family device. </dd></dl>

</div>
</div>
<a id="gaae5866a78d2f0464b04eee9ef1f97030"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae5866a78d2f0464b04eee9ef1f97030">&#9670;&nbsp;</a></span>atIsSHAFamily()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool atIsSHAFamily </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a>&#160;</td>
          <td class="paramname"><em>device_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>determines if a given device type is a SHA device or a superset of a SHA device </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">device_type</td><td>Type of device to check for family type </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>boolean indicating whether the given device is a SHA family device. </dd></dl>

</div>
</div>
<a id="ga881ba1c37e33cf65c17983e93dd8c677"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga881ba1c37e33cf65c17983e93dd8c677">&#9670;&nbsp;</a></span>atKDF()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atKDF </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand KDF method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>Instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>Pointer to the packet containing the command being built. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gac649ffd477409f414dfcc7e38c19e203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac649ffd477409f414dfcc7e38c19e203">&#9670;&nbsp;</a></span>atLock()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atLock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Lock method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga6375d9724ac9ec208e22224c0a210fb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6375d9724ac9ec208e22224c0a210fb3">&#9670;&nbsp;</a></span>atMAC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atMAC </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand MAC method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gab0937e5d717246f51a244e3369e554e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab0937e5d717246f51a244e3369e554e6">&#9670;&nbsp;</a></span>atNonce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atNonce </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Nonce method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="gae9bbe9f768acf9628bbb78fbebb21221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae9bbe9f768acf9628bbb78fbebb21221">&#9670;&nbsp;</a></span>atPause()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atPause </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Pause method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gaf90f39bafcd296962ceef461954a1998"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf90f39bafcd296962ceef461954a1998">&#9670;&nbsp;</a></span>atPrivWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atPrivWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand PrivWrite method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="gad16fd3d0f3602f4654c29101f35bd2a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad16fd3d0f3602f4654c29101f35bd2a1">&#9670;&nbsp;</a></span>atRandom()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atRandom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Random method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga17fa9d23b7e46c2eb32f8ae6132bb3c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17fa9d23b7e46c2eb32f8ae6132bb3c4">&#9670;&nbsp;</a></span>atRead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Read method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga5ecdb99e756b1740ad2119f13c3ab809"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ecdb99e756b1740ad2119f13c3ab809">&#9670;&nbsp;</a></span>atSecureBoot()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atSecureBoot </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand SecureBoot method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga47c96fd19a050247f7c06e20c296b958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga47c96fd19a050247f7c06e20c296b958">&#9670;&nbsp;</a></span>atSelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atSelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand AES method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga44ad135152469c980f9bf36a5f1477bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga44ad135152469c980f9bf36a5f1477bb">&#9670;&nbsp;</a></span>atSHA()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atSHA </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>write_context_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand SHA method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">write_context_size</td><td>the length of the sha write_context data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="gaf41d61bc7317d325a34169eb53c29e7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf41d61bc7317d325a34169eb53c29e7c">&#9670;&nbsp;</a></span>atSign()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atSign </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Sign method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga3890dfc5d5a3ec121ba7436fe90bee23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3890dfc5d5a3ec121ba7436fe90bee23">&#9670;&nbsp;</a></span>atUpdateExtra()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atUpdateExtra </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand UpdateExtra method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga2beb9e8360555ededb666ad845219fce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2beb9e8360555ededb666ad845219fce">&#9670;&nbsp;</a></span>atVerify()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atVerify </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand ECDSA Verify method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="gaab5bc48599e5f6b938901739f4f46fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab5bc48599e5f6b938901739f4f46fa7">&#9670;&nbsp;</a></span>atWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> atWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03547.html">ATCAPacket</a> *&#160;</td>
          <td class="paramname"><em>packet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_mac</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand Write method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">packet</td><td>pointer to the packet containing the command being built </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">has_mac</td><td>Flag to indicate whether a mac is present or not </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS </dd></dl>

</div>
</div>
<a id="ga9404883f6b81e6356862a9bb4b42d4a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9404883f6b81e6356862a9bb4b42d4a9">&#9670;&nbsp;</a></span>deleteATCACommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void deleteATCACommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> *&#160;</td>
          <td class="paramname"><em>ca_cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ATCACommand destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>instance of a command object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf4177bd66c5981ba86511608150c024e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf4177bd66c5981ba86511608150c024e">&#9670;&nbsp;</a></span>initATCACommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> initATCACommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a>&#160;</td>
          <td class="paramname"><em>device_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a>&#160;</td>
          <td class="paramname"><em>ca_cmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializer for ATCACommand. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">device_type</td><td>Specifies which set of commands and execution times should be associated with this command object. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ca_cmd</td><td>Pre-allocated command structure to initialize. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="gae41108996848638519849163e51cd10a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae41108996848638519849163e51cd10a">&#9670;&nbsp;</a></span>isATCAError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00128.html#a22bd6643f31f1d75dc3e7ea939f468cd">ATCA_STATUS</a> isATCAError </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>checks for basic error frame in data </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>pointer to received data - expected to be in the form of a CA device response frame </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ATCA_SUCCESS on success, otherwise an error code. </dd></dl>

</div>
</div>
<a id="gac004e4f2b9a435f9de6cea523c0e9a2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac004e4f2b9a435f9de6cea523c0e9a2d">&#9670;&nbsp;</a></span>newATCACommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a03531.html#gaebeafc249bfe2b00b6809d5c328841d9">ATCACommand</a> newATCACommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03532.html#gafb234ccd6a80d09c0efbe336c2354267">ATCADeviceType</a>&#160;</td>
          <td class="paramname"><em>device_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor for ATCACommand </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">device_type</td><td>Specifies which set of commands and execution times should be associated with this command object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialized object on success. NULL on failure. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
